source: trip-planner-front/node_modules/core-js/internals/number-is-finite.js@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 336 bytes
Line 
1var global = require('../internals/global');
2
3var globalIsFinite = global.isFinite;
4
5// `Number.isFinite` method
6// https://tc39.es/ecma262/#sec-number.isfinite
7// eslint-disable-next-line es/no-number-isfinite -- safe
8module.exports = Number.isFinite || function isFinite(it) {
9 return typeof it == 'number' && globalIsFinite(it);
10};
Note: See TracBrowser for help on using the repository browser.