lix-website/themes/lix/assets/bootstrap/node_modules/es-abstract/2022/IsUnclampedIntegerElementType.js
2024-04-26 22:49:34 -06:00

13 lines
298 B
JavaScript

'use strict';
// https://262.ecma-international.org/11.0/#sec-isunclampedintegerelementtype
module.exports = function IsUnclampedIntegerElementType(type) {
return type === 'Int8'
|| type === 'Uint8'
|| type === 'Int16'
|| type === 'Uint16'
|| type === 'Int32'
|| type === 'Uint32';
};