projecte_ionic/node_modules/es-abstract/2021/IsUnsignedElementType.js
2022-02-09 18:30:03 +01:00

12 lines
290 B
JavaScript
Executable file

'use strict';
// https://262.ecma-international.org/11.0/#sec-isunsignedelementtype
module.exports = function IsUnsignedElementType(type) {
return type === 'Uint8'
|| type === 'Uint8C'
|| type === 'Uint16'
|| type === 'Uint32'
|| type === 'BigUint64';
};