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

Function typeSchema

packages/effect/src/Schema.ts:415–415  ·  view source on GitHub ↗
(schema: Schema<A, I, R>)

Source from the content-addressed store, hash-verified

413 * @since 3.10.0
414 */
415export const typeSchema = <A, I, R>(schema: Schema<A, I, R>): SchemaClass<A> => make(AST.typeAST(schema.ast))
416
417/* c8 ignore start */
418export {

Callers 15

ArrayEnsureFunction · 0.85
NonEmptyArrayEnsureFunction · 0.85
Schema.tsFile · 0.85
clampFunction · 0.85
RedactedFunction · 0.85
headFunction · 0.85
headNonEmptyFunction · 0.85
OptionFunction · 0.85
OptionFromNullOrFunction · 0.85
OptionFromNullishOrFunction · 0.85
OptionFromUndefinedOrFunction · 0.85

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected