Welcome to mirror list, hosted at ThFree Co, Russian Federation.

isFinite.js « helpers « es-abstract « node_modules - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9e7cd4f82f3d7a4b8f22397a54a4c6c38514ae8b (plain)
1
2
3
4
5
'use strict';

var $isNaN = Number.isNaN || function (a) { return a !== a; };

module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; };