effect-io-ai

Package: effect
Module: Schema

Schema.isBetweenBigInt

Validates that a BigInt is within a specified range. The range boundaries can be inclusive or exclusive based on the provided options.

Details

Arbitrary:

When generating test data with fast-check, this applies min and max constraints to ensure generated BigInt values fall within the specified range.

Signature

declare const isBetweenBigInt: (options: { readonly minimum: bigint; readonly maximum: bigint; readonly exclusiveMinimum?: boolean | undefined; readonly exclusiveMaximum?: boolean | undefined; }, annotations?: Annotations.Filter) => SchemaAST.Filter<bigint>

Source

Since v4.0.0