basant307/AI_Governance_Project
045
1'use strict';2 3var $isNaN = require('./isNaN');4 5/** @type {import('./isFinite')} */6module.exports = function isFinite(x) {7 return (typeof x === 'number' || typeof x === 'bigint')8 && !$isNaN(x)9 && x !== Infinity10 && x !== -Infinity;11};12 13 