1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/is-finite/readme.md

34 lines
907 B
Markdown
Raw Normal View History

2023-12-18 13:12:25 +08:00
# is-finite [![Build Status](https://travis-ci.org/sindresorhus/is-finite.svg?branch=master)](https://travis-ci.org/sindresorhus/is-finite)
> ES2015 [`Number.isFinite()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite) [ponyfill](https://ponyfill.com)
## Install
```
2024-01-16 21:26:16 +08:00
$ npm install is-finite
```
2023-12-18 13:12:25 +08:00
## Usage
```js
var numIsFinite = require('is-finite');
numIsFinite(4);
//=> true
numIsFinite(Infinity);
//=> false
```
2024-01-16 21:26:16 +08:00
---
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-is-finite?utm_source=npm-is-finite&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>