(
minimum: BigDecimal_.BigDecimal,
annotations?: Annotations.Filter
): SchemaAST.Filter<BigDecimal_.BigDecimal>Validates that a BigDecimal is greater than or equal to the specified value (inclusive).
BigDecimal checks
Source effect/Schema.ts:79134 lines
export const const isGreaterThanOrEqualToBigDecimal: (
minimum: unknown,
annotations?: Annotations.Filter
) => SchemaAST.Filter<unknown>
Validates that a BigDecimal is greater than or equal to the specified value
(inclusive).
isGreaterThanOrEqualToBigDecimal = 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<BigDecimal_.BigDecimal>order: import BigDecimal_BigDecimal_.Order,
formatter?: anyformatter: (bd: BigDecimal_.BigDecimal(parameter) bd: {
value: bigint;
scale: number;
normalized: BigDecimal;
pipe: { <A>(this: A): A; <A, B = never>(this: A, ab: (_: A) => B): B; <A, B = never, C = never>(this: A, ab: (_: A) => B, bc: (_: B) => C): C; <A, B = never, C = never, D = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D): D; <…;
toString: () => string;
toJSON: () => unknown;
}
bd) => import BigDecimal_BigDecimal_.format(bd: BigDecimal_.BigDecimal(parameter) bd: {
value: bigint;
scale: number;
normalized: BigDecimal;
pipe: { <A>(this: A): A; <A, B = never>(this: A, ab: (_: A) => B): B; <A, B = never, C = never>(this: A, ab: (_: A) => B, bc: (_: B) => C): C; <A, B = never, C = never, D = never>(this: A, ab: (_: A) => B, bc: (_: B) => C, cd: (_: C) => D): D; <…;
toString: () => string;
toJSON: () => unknown;
}
bd)
})