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

Function isField

packages/effect/src/unstable/schema/VariantSchema.ts:116–116  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

114 * @since 4.0.0
115 */
116export const isField = (u: unknown): u is Field<any> => Predicate.hasProperty(u, FieldTypeId)
117
118/**
119 * Type-level helpers for variant schema fields.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected