Package: effect
Module: Schema
Validates that a number is finite (not Infinity, -Infinity, or NaN).
Details
JSON Schema:
This check does not have a direct JSON Schema equivalent, but ensures the number is valid and finite.
Arbitrary:
When generating test data with fast-check, this applies noNaN: true and
noInfinity: true constraints to ensure generated numbers are finite.
Signature
declare const isFinite: (annotations?: Annotations.Filter) => SchemaAST.Filter<number>
Since v4.0.0