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

Function writeInvalidMetaMessage

ark/schema/shared/utils.ts:318–319  ·  view source on GitHub ↗
(meta: string)

Source from the content-addressed store, hash-verified

316 "clone was removed in 3.0; remove it, or set mutatesInput to write into the input"
317
318export const writeInvalidMetaMessage = (meta: string): string =>
319 `Meta must be a string, an object or a function (was ${meta})`
320
321// a user-authored description on a value, distinct from a built-in keyword's
322// phrase or a node whose `expected` explicitly overrides its description

Callers 1

configureRefsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected