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