Skip to content

Function: isNumberSchema()

Makaio Framework


Makaio Framework / kernel/cli / isNumberSchema

isNumberSchema(schema): boolean

Defined in: ../../../packages/kernel/src/cli/schema-utils.ts:55

Check if a Zod schema resolves to a number type, unwrapping wrappers recursively.

FieldSchema

The Zod schema to inspect.

boolean

true if the schema represents a numeric value.