2fd23b5eead5b84dd02bcd9c4500ca4988e28fac3cd9f0447ecf903c30792e425c60b221d42577aa8a0b2b3021be9444b9170ea59dd5166b3b75eab6caf635 298 B

123456789101112
  1. 'use strict';
  2. // https://262.ecma-international.org/15.0/#sec-isunclampedintegerelementtype
  3. module.exports = function IsUnclampedIntegerElementType(type) {
  4. return type === 'INT8'
  5. || type === 'UINT8'
  6. || type === 'INT16'
  7. || type === 'UINT16'
  8. || type === 'INT32'
  9. || type === 'UINT32';
  10. };