UNPKG

typia

Version:

Superfast runtime validators with only one line

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