UNPKG

typia

Version:

Superfast runtime validators with only one line

8 lines (7 loc) 277 B
//#region src/internal/_isTypeInt64.ts const _isTypeInt64 = (value) => Math.floor(value) === value && MINIMUM <= value && value <= MAXIMUM; const MINIMUM = -(2 ** 63); const MAXIMUM = 2 ** 63 - 1; //#endregion export { _isTypeInt64 }; //# sourceMappingURL=_isTypeInt64.mjs.map