MCPcopy Create free account
hub / github.com/Effect-TS/effect / keys

Function keys

packages/effect/src/Record.ts:1020–1021  ·  view source on GitHub ↗
(self: ReadonlyRecord<K, A>)

Source from the content-addressed store, hash-verified

1018 * @since 2.0.0
1019 */
1020export const keys = <K extends string | symbol, A>(self: ReadonlyRecord<K, A>): Array<K & string> =>
1021 Object.keys(self) as Array<K & string>
1022
1023/**
1024 * Retrieves the values of a given record as an array.

Callers 6

Record.tsFile · 0.70
sizeFunction · 0.70
getSomesFunction · 0.70
getFailuresFunction · 0.70
getSuccessesFunction · 0.70
isSubrecordByFunction · 0.70

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected