yz3456
2024-05-13 8534dcfc0f0bfc6ba3aace81f1101f91b414647c
1
2
3
4
5
'use strict';
 
var $isNaN = require('./isNaN');
 
module.exports = function (x) { return (typeof x === 'number' || typeof x === 'bigint') && !$isNaN(x) && x !== Infinity && x !== -Infinity; };