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

Function fields

packages/effect/src/unstable/schema/VariantSchema.ts:261–261  ·  view source on GitHub ↗
(self: A)

Source from the content-addressed store, hash-verified

259 * @since 4.0.0
260 */
261export const fields = <A extends Struct<any>>(self: A): A[typeof TypeId] => self[TypeId]
262
263/**
264 * Schema class type returned by variant class constructors, combining the default

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected