mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-07 00:49:12 +08:00
12 lines
298 B
Text
12 lines
298 B
Text
'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';
|
|
};
|