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

Function inputOf

ark/schema/shared/errors.ts:938–941  ·  view source on GitHub ↗
(error: ArkError)

Source from the content-addressed store, hash-verified

936}
937
938const inputOf = (error: ArkError): ArkErrorContextInput | undefined => {
939 const source = ErrorSource.of(error)
940 return source instanceof Supplied ? source.input : undefined
941}
942
943const stampError = (
944 error: ArkError,

Callers 2

suppliedTextFunction · 0.70
unwrittenErrorFunction · 0.70

Calls 1

ofMethod · 0.45

Tested by

no test coverage detected