MCPcopy Create free account
hub / github.com/arktypeio/arktype / writeInvalidSchemaMessage

Function writeInvalidSchemaMessage

ark/schema/parse.ts:113–114  ·  view source on GitHub ↗
(schema: unknown)

Source from the content-addressed store, hash-verified

111}
112
113export const writeInvalidSchemaMessage = (schema: unknown): string =>
114 `${printable(schema)} is not a valid type schema`
115
116const nodeCountsByPrefix: PartialRecord<string, number> = Object.create(null)
117

Callers 3

discriminateRootKindFunction · 0.90
lookupBuiltinProtoFunction · 0.90
parse.test.tsFile · 0.90

Calls 1

printableFunction · 0.90

Tested by

no test coverage detected