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

13 lines
262 B
Plaintext

'use strict';
var $isNaN = require('./isNaN');
/** @type {import('./isFinite')} */
module.exports = function isFinite(x) {
return (typeof x === 'number' || typeof x === 'bigint')
&& !$isNaN(x)
&& x !== Infinity
&& x !== -Infinity;
};