isFinite.js 397 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. /* eslint-disable no-redeclare */
  7. // $FlowFixMe workaround for: https://github.com/facebook/flow/issues/4441
  8. var isFinitePolyfill = Number.isFinite || function (value) {
  9. return typeof value === 'number' && isFinite(value);
  10. };
  11. var _default = isFinitePolyfill;
  12. exports.default = _default;