Primitives$number$number Callable$number(options?: SchemaOptions<Partial<NumberOptions>, number>): NumberTypeCreate a new NumberType instance with the given options. Example$number$number()$number({maximum: 3.15})Parametersoptions: SchemaOptions<Partial<NumberOptions>, number> = {}Additional options to pass to the number.Returns NumberType
Create a new
NumberType
instance with the given options.Example