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

Function isStruct

packages/effect/src/Schema.ts:14231–14233  ·  view source on GitHub ↗
(schema: Struct.Fields | Struct<Struct.Fields>)

Source from the content-addressed store, hash-verified

14229}
14230
14231function isStruct(schema: Struct.Fields | Struct<Struct.Fields>): schema is Struct<Struct.Fields> {
14232 return isSchema(schema)
14233}
14234
14235type MissingSelfGeneric<Usage extends string> =
14236 `Missing \`Self\` generic - use \`class Self extends ${Usage}<Self>(...)\``

Callers 2

extendMethod · 0.70
api.tst.tsFile · 0.50

Calls 1

isSchemaFunction · 0.85

Tested by

no test coverage detected