@types/is-number
Version:
TypeScript definitions for is-number
34 lines (26 loc) • 1.15 kB
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
// Type definitions for is-number 7.0
// Project: https://github.com/jonschlinkert/is-number
// Definitions by: Jed Thompson <https://github.com/jedster1111>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Mon, 21 Mar 2022 20:31:57 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by [Jed Thompson](https://github.com/jedster1111).