UNPKG

typia

Version:

Superfast runtime validators with only one line

8 lines 333 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._isTypeInt16 = void 0; const _isTypeInt16 = (value) => Math.floor(value) === value && MINIMUM <= value && value <= MAXIMUM; exports._isTypeInt16 = _isTypeInt16; const MINIMUM = -32768; const MAXIMUM = 32767; //# sourceMappingURL=_isTypeInt16.js.map