(
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 const isGreaterThanOrEqualToBigInt: (
minimum: unknown,
annotations?: Annotations.Filter
) => SchemaAST.Filter<unknown>
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.
isGreaterThanOrEqualToBigInt = function makeIsGreaterThanOrEqualTo<
T
>(options: {
readonly order: Order.Order<T>
readonly annotate?:
| ((
exclusiveMinimum: T
) => Annotations.Filter)
| undefined
readonly formatter?: Formatter<T> | undefined
}): (
minimum: T,
annotations?: Annotations.Filter
) => SchemaAST.Filter<T>
Creates a greater-than-or-equal-to (>=) check for any ordered type from an
Order.Order instance.
makeIsGreaterThanOrEqualTo({
order: Order.Order<bigint>order: import OrderOrder.BigInt,
annotate?: | ((
exclusiveMinimum: unknown
) => Annotations.Filter)
| undefined
annotate: (minimum: unknownminimum) => ({
Annotations.Filter.meta?: Annotations.Meta | undefined(property) Annotations.Filter.meta?: {
_tag: 'isGreaterThanOrEqualToBigInt';
minimum: bigint;
}
Optional metadata used to identify or extend the filter with custom data.
meta: {
_tag: "isGreaterThanOrEqualToBigInt"_tag: "isGreaterThanOrEqualToBigInt",
minimum: bigintminimum
}
})
})Referenced by 2 symbols