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

Method mapMembers

packages/effect/src/Schema.ts:4931–4931  ·  view source on GitHub ↗

* Map over the members of the union.

(f: (members: this["members"]) => To)

Source from the content-addressed store, hash-verified

4929 * Map over the members of the union.
4930 */
4931 mapMembers<To extends ReadonlyArray<Constraint>>(f: (members: this["members"]) => To): Union<Simplify<Readonly<To>>>
4932
4933 pick<const L2 extends ReadonlyArray<L[number]>>(literals: L2): Literals<L2>
4934

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected