feige
2025-01-16 0bed59a7c83975e466e31aa2fa14d8ee15473813
1
2
3
4
5
6
7
8
9
10
11
'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';
};