@types/is-number
Version:
TypeScript definitions for is-number
28 lines (21 loc) • 903 B
Markdown
# Installation
> `npm install --save @types/is-number`
# Summary
This package contains type definitions for is-number (https://github.com/jonschlinkert/is-number).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-number.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-number/index.d.ts)
````ts
export = is_number;
/**
* Will test to see if the argument is a valid number, excluding Infinity and NaN.
* @param num Any value that should be tested for being a number
* @returns true if the parameter is a valid number, otherwise false
*/
declare function is_number(num: unknown): boolean;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 03:09:37 GMT
* Dependencies: none
# Credits
These definitions were written by [Jed Thompson](https://github.com/jedster1111).