bguard
Version:
**bguard** is a powerful, flexible, and type-safe validation library for TypeScript. It allows developers to define validation schemas for their data structures and ensures that data conforms to the expected types and constraints.
18 lines (16 loc) • 517 B
JavaScript
import {
setToDefaultLocale
} from "./chunk-OE3L7EKN.mjs";
// src/asserts/bigint/bigintMax.ts
var bigintMaxErrorMessage = "The received value is greater than expected";
var bigintMaxErrorKey = "bi:max";
var bigintMax = (expected) => (received, ctx) => {
if (expected < received) ctx.addIssue(expected, received, bigintMaxErrorKey);
};
bigintMax.key = bigintMaxErrorKey;
bigintMax.message = bigintMaxErrorMessage;
setToDefaultLocale(bigintMax);
export {
bigintMax
};
//# sourceMappingURL=chunk-QEG24G7E.mjs.map