Hyperlinkv0.8.0-beta.28

Schema

Schema.isBetweenBigIntconsteffect/Schema.ts:7885
(
  options: {
    readonly minimum: bigint
    readonly maximum: bigint
    readonly exclusiveMinimum?: boolean | undefined
    readonly exclusiveMaximum?: boolean | undefined
  },
  annotations?: Annotations.Filter
): SchemaAST.Filter<bigint>

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.

BigInt checks
Source effect/Schema.ts:78859 lines
export const isBetweenBigInt = makeIsBetween({
  order: Order.BigInt,
  annotate: (options) => ({
    meta: {
      _tag: "isBetweenBigInt",
      ...options
    }
  })
})
Referenced by 1 symbols