Files
NapCatQQ/.pnpm-store/v3/files/80/1fa19ef9c340e8e5d1e931cf3a7cf457d5df4da453834e0e2f3b778012b88ba60beb69621a6a0a6705970eb8957ba9f3e4418b0f2eb4849e9f1e0ffb11dcab
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

17 lines
467 B
Plaintext

'use strict';
var IsUnclampedIntegerElementType = require('./IsUnclampedIntegerElementType');
var IsBigIntElementType = require('./IsBigIntElementType');
// https://262.ecma-international.org/15.0/#sec-isnotearconfiguration
module.exports = function IsNoTearConfiguration(type, order) {
if (IsUnclampedIntegerElementType(type)) {
return true;
}
if (IsBigIntElementType(type) && order !== 'INIT' && order !== 'UNORDERED') {
return true;
}
return false;
};