effect-io-ai

Package: effect
Module: Schema

Schema.isLessThanOrEqualToBigInt

Validates that a BigInt is less than or equal to the specified value (inclusive).

Details

Arbitrary:

When generating test data with fast-check, this applies a max constraint to ensure generated BigInt values are less than or equal to the specified value.

Signature

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

Source

Since v4.0.0