index.js 175 B

12345
  1. 'use strict';
  2. module.exports = Number.isFinite || function (value) {
  3. return !(typeof value !== 'number' || value !== value || value === Infinity || value === -Infinity);
  4. };