effect-io-ai

Package: effect
Module: Schema

Schema.isStringFinite

Validates that a string represents a finite number.

Details

JSON Schema:

This check corresponds to a pattern constraint in JSON Schema that matches strings representing finite numbers.

Arbitrary:

When generating test data with fast-check, this applies a patterns constraint to ensure generated strings match the number string pattern.

Signature

declare const isStringFinite: (annotations?: Annotations.Filter) => SchemaAST.Filter<string>

Source

Since v4.0.0