import * as tsplus_module_1 from "@tsplus/stdlib/collections/List/map";
import * as tsplus_module_2 from "@effect/core/stm/TMap/operations/toList";
import * as tsplus_module_3 from "@effect/core/stm/STM/operations/map";
/**
 * Collects all keys stored in map.
 *
 * @tsplus getter ets/TMap keys
 */

export function keys(self) {
  return tsplus_module_3.map_(tsplus_module_2.toList(self), _ => tsplus_module_1.map_(_, kv => kv.get(0)));
}
//# sourceMappingURL=keys.mjs.map