blob: 9e7cd4f82f3d7a4b8f22397a54a4c6c38514ae8b [file] [log] [blame]
Leo Repp58b9f112021-11-22 11:57:47 +01001'use strict';
2
3var $isNaN = Number.isNaN || function (a) { return a !== a; };
4
5module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; };