Hyperlinkv0.8.0-beta.28

Schema

Schema.isGreaterThanBigIntconsteffect/Schema.ts:7786
(
  exclusiveMinimum: bigint,
  annotations?: Annotations.Filter
): SchemaAST.Filter<bigint>

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

Details

Arbitrary:

When generating test data with fast-check, this applies a min constraint of exclusiveMinimum + 1n to ensure generated BigInts are greater than the specified value.

BigInt checks
Source effect/Schema.ts:77869 lines
export const isGreaterThanBigInt = makeIsGreaterThan({
  order: Order.BigInt,
  annotate: (exclusiveMinimum) => ({
    meta: {
      _tag: "isGreaterThanBigInt",
      exclusiveMinimum
    }
  })
})
Referenced by 1 symbols