summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/polyfills/isFinite.mjs
blob: 7c1aea6df2bf6062b5624b9c650db7a69f010589 (plain)
1
2
3
4
5
6
7
/* eslint-disable no-redeclare */
// $FlowFixMe[name-already-bound] workaround for: https://github.com/facebook/flow/issues/4441
var isFinitePolyfill = Number.isFinite || function (value) {
  return typeof value === 'number' && isFinite(value);
};

export default isFinitePolyfill;