8ac2f1c00ac255570ef735c52b1ba93e4d6136100399dbaf0a217a196add5662035a09b3def06447e4ec74d8dccac5d39a4abda38fdb073ed2ca04ba816575 298 B

123456789101112
  1. 'use strict';
  2. // https://262.ecma-international.org/11.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. };