effect-io-ai

Package: effect
Module: Schema

Schema.isLessThanBigInt

Validates that a BigInt is less than the specified value (exclusive).

Details

Arbitrary:

When generating test data with fast-check, this applies a max constraint of exclusiveMaximum - 1n to ensure generated BigInts are less than the specified value.

Signature

declare const isLessThanBigInt: (exclusiveMaximum: bigint, annotations?: Annotations.Filter) => SchemaAST.Filter<bigint>

Source

Since v4.0.0