{"version":3,"file":"_isTypeUint16.mjs","names":[],"sources":["../../src/internal/_isTypeUint16.ts"],"sourcesContent":["/**\n * Test whether a number is an integer in the unsigned 16-bit range.\n *\n * @evidence contracts/common.md#principled-implementation An integer in the unsigned 16-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 _isTypeUint16 = (value: number): boolean =>\n  Math.floor(value) === value && MINIMUM <= value && value <= MAXIMUM;\n\nconst MINIMUM = 0;\nconst MAXIMUM = 65535;\n"],"mappings":";;;;;;;;;AAQA,MAAa,iBAAiB,UAC5B,KAAK,MAAM,KAAK,MAAM,SAAS,WAAW,SAAS,SAAS;AAE9D,MAAM,UAAU;AAChB,MAAM,UAAU"}