Files
documentation/node_modules/memfs/lib/getBigInt.js
2024-03-22 03:47:51 +05:30

6 lines
191 B
JavaScript

if (typeof BigInt === 'function') exports.default = BigInt;
else
exports.default = function BigIntNotSupported() {
throw new Error('BigInt is not supported in this environment.');
};