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) • 556 B
JavaScript
import {
setToDefaultLocale
} from "./chunk-OE3L7EKN.mjs";
// src/asserts/number/minExcluded.ts
var minExcludedErrorMessage = "The received value is less than or equal to expected";
var minExcludedErrorKey = "n:minExcluded";
var minExcluded = (expected) => (received, ctx) => {
if (expected >= received) ctx.addIssue(expected, received, minExcludedErrorKey);
};
minExcluded.key = minExcludedErrorKey;
minExcluded.message = minExcludedErrorMessage;
setToDefaultLocale(minExcluded);
export {
minExcluded
};
//# sourceMappingURL=chunk-V7C77FML.mjs.map