UNPKG

typia

Version:

Superfast runtime validators with only one line

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