shift73k/assets_old/node_modules/es-abstract/2020/IsUnclampedIntegerElementType.js

13 lines
328 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';
};