MCPcopy
hub / github.com/colinhacks/zod / safeparse

Function safeparse

packages/bench/safeparse.ts:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31 },
32 safeparse() {
33 for (const d of DATA) {
34 const result = schema.safeParse(d);
35 result.error;
36 }
37 },
38});
39
40await bench.run();

Callers

nothing calls this directly

Calls 1

safeParseMethod · 0.65

Tested by

no test coverage detected