MCPcopy Index your code
hub / github.com/Effect-TS/effect / keys

Function keys

packages/effect/src/internal/stm/tMap.ts:239–240  ·  view source on GitHub ↗
(self: TMap.TMap<K, V>)

Source from the content-addressed store, hash-verified

237
238/** @internal */
239export const keys = <K, V>(self: TMap.TMap<K, V>): STM.STM<Array<K>> =>
240 core.map(toReadonlyArray(self), RA.map((entry) => entry[0]))
241
242/** @internal */
243export const make = <K, V>(...entries: Array<readonly [K, V]>): STM.STM<TMap.TMap<K, V>> => fromIterable(entries)

Callers

nothing calls this directly

Calls 2

toReadonlyArrayFunction · 0.85
mapMethod · 0.65

Tested by

no test coverage detected