MCPcopy Index your code
hub / github.com/cameri/nostream / attemptValidation

Function attemptValidation

src/utils/validation.ts:11–11  ·  view source on GitHub ↗
(schema: z.ZodTypeAny)

Source from the content-addressed store, hash-verified

9}
10
11export const attemptValidation = (schema: z.ZodTypeAny) => (input: unknown) => schema.parse(input)

Callers 3

validation.spec.tsFile · 0.90
onClientMessageMethod · 0.90
importFromCandidatesMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected