Skip to content

remix/data-schema · Function

View Source

number

Summary

Create a schema that accepts finite numbers (excluding NaN and Infinity).

Signature

function number(): Schema<unknown, number>

Returns

A schema that produces a number