MCPcopy
hub / github.com/Effect-TS/effect / isSchema

Function isSchema

packages/effect/src/Schema.ts:666–667  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

664 * @since 3.10.0
665 */
666export const isSchema = (u: unknown): u is Schema.Any =>
667 Predicate.hasProperty(u, TypeId) && Predicate.isObject(u[TypeId])
668
669/**
670 * @category api interface

Callers 5

TemplateLiteralFunction · 0.85
TemplateLiteralParserFunction · 0.85
getDefaultTupleTypeASTFunction · 0.85
Schema.tsFile · 0.85
parseJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…