Hyperlinkv0.8.0-beta.28

Schema

Schema.isGreaterThanOrEqualToBigIntconsteffect/Schema.ts:7811
(
  minimum: bigint,
  annotations?: Annotations.Filter
): SchemaAST.Filter<bigint>

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

Details

Arbitrary:

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

BigInt checks
Source effect/Schema.ts:78119 lines
export const isGreaterThanOrEqualToBigInt = makeIsGreaterThanOrEqualTo({
  order: Order.BigInt,
  annotate: (minimum) => ({
    meta: {
      _tag: "isGreaterThanOrEqualToBigInt",
      minimum
    }
  })
})
Referenced by 2 symbols