Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/tools / / isZodSchema

Function: isZodSchema()

ts
function isZodSchema(value): boolean;

Defined in: packages/tools/src/schema/to-json-schema.ts:101

true when value is a Zod schema instance of either major line.

Parameters

ParameterType
valueunknown

Returns

boolean