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

Function entries

packages/effect/src/Optic.ts:1396–1398  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1394 * @since 4.0.0
1395 */
1396export function entries<A>(): Iso<Record<string, A>, ReadonlyArray<readonly [string, A]>> {
1397 return make(primitiveNode("Iso", Object.entries, Object.fromEntries))
1398}
1399
1400/**
1401 * Prism that focuses on the value inside `Option.Some`.

Callers

nothing calls this directly

Calls 2

primitiveNodeFunction · 0.85
makeFunction · 0.70

Tested by

no test coverage detected