cat-bookmarker/assets/node_modules/is-finite/index.js

6 lines
175 B
JavaScript

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