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

Function isClassValue

packages/effect/src/Schema.ts:14196–14197  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

14194 }
14195 const ClassTypeId = getClassTypeId(identifier)
14196 const isClassValue: Predicate.Predicate<unknown> = (input) =>
14197 input instanceof self || Predicate.hasProperty(input, ClassTypeId)
14198 const transformation = getClassTransformation(self)
14199 const to = make<declareConstructor<Self, S["Encoded"], readonly [S]>>(
14200 new SchemaAST.Declaration(

Callers 1

getClassSchemaFactoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected