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

Function keys

packages/effect/src/Struct.ts:176–177  ·  view source on GitHub ↗
(self: S)

Source from the content-addressed store, hash-verified

174 * @since 3.6.0
175 */
176export const keys = <S extends object>(self: S): Array<(keyof S) & string> =>
177 Object.keys(self) as Array<(keyof S) & string>
178
179/**
180 * Creates a new struct containing only the specified keys.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected