typia
Version:
Superfast runtime validators with only one line
10 lines • 510 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._isTypeUint64Bigint = void 0;
const _isTypeUint64Bigint = (value) => MINIMUM <= value && value <= MAXIMUM;
exports._isTypeUint64Bigint = _isTypeUint64Bigint;
// See `_isTypeInt64Bigint`: the bound is exact only because the argument is a
// string, and `bigint` can represent the true inclusive maximum.
const MINIMUM = BigInt(0);
const MAXIMUM = BigInt("18446744073709551615");
//# sourceMappingURL=_isTypeUint64Bigint.js.map