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

6 lines
175 B
JavaScript
Raw Permalink Normal View History

2024-03-10 18:52:04 +00:00
'use strict';
module.exports = Number.isFinite || function (value) {
return !(typeof value !== 'number' || value !== value || value === Infinity || value === -Infinity);
};