Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

number-is-finite.js 363B

1234567891011
  1. 'use strict';
  2. var globalThis = require('../internals/global-this');
  3. var globalIsFinite = globalThis.isFinite;
  4. // `Number.isFinite` method
  5. // https://tc39.es/ecma262/#sec-number.isfinite
  6. // eslint-disable-next-line es/no-number-isfinite -- safe
  7. module.exports = Number.isFinite || function isFinite(it) {
  8. return typeof it == 'number' && globalIsFinite(it);
  9. };