{"version":3,"file":"_isTypeUint8.mjs","names":[],"sources":["../../src/internal/_isTypeUint8.ts"],"sourcesContent":["/**\n * Test whether a number is an integer in the unsigned 8-bit range.\n *\n * @evidence contracts/common.md#principled-implementation An integer in the unsigned 8-bit range, tested by equality with its floor and the two bounds.\n * @evidence contracts/common.md#clear-and-simple-design One expression and two constants.\n * @evidence contracts/common.md#prohibited-implementation-shortcuts The bounds are the type's.\n * @evidence contracts/common.md#meaningful-documentation A comment states the range.\n */\nexport const _isTypeUint8 = (value: number): boolean =>\n  Math.floor(value) === value && MINIMUM <= value && value <= MAXIMUM;\n\nconst MINIMUM = 0;\nconst MAXIMUM = 255;\n"],"mappings":";;;;;;;;;AAQA,MAAa,gBAAgB,UAC3B,KAAK,MAAM,KAAK,MAAM,SAAS,WAAW,SAAS,SAAS;AAE9D,MAAM,UAAU;AAChB,MAAM,UAAU"}