Package: effect
Module: Schema
Validates that a number is a 32-bit signed integer (range: -2,147,483,648 to 2,147,483,647).
Details
JSON Schema:
This check corresponds to the format: "int32" constraint in OpenAPI 3.1,
or minimum/maximum constraints in other JSON Schema targets.
Arbitrary:
When generating test data with fast-check, this applies integer and range constraints to ensure generated numbers are 32-bit signed integers.
Signature
declare const isInt32: (annotations?: Annotations.Filter) => SchemaAST.FilterGroup<number>
Since v4.0.0