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

16 lines
401 B
Plaintext

'use strict';
var $TypeError = require('es-errors/type');
var BigIntEqual = require('./equal');
// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-sameValue
module.exports = function BigIntSameValue(x, y) {
if (typeof x !== 'bigint' || typeof y !== 'bigint') {
throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
}
return BigIntEqual(x, y);
};