UNPKG

436 BJavaScriptView Raw
1/**
2 * Copyright (c) 2018-present, Facebook, Inc.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 *
8 */
9
10/* eslint-disable no-redeclare */
11// $FlowFixMe workaround for: https://github.com/facebook/flow/issues/4441
12var isFinite = Number.isFinite || function (value) {
13 return typeof value === 'number' && isFinite(value);
14};
15
16export default isFinite;
\No newline at end of file