UNPKG

typia

Version:

Superfast runtime validators with only one line

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