1 | // Type definitions for is-number 7.0
|
2 | // Project: https://github.com/jonschlinkert/is-number
|
3 | // Definitions by: Jed Thompson <https://github.com/jedster1111>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | export = is_number;
|
7 |
|
8 | /**
|
9 | * Will test to see if the argument is a valid number, excluding Infinity and NaN.
|
10 | * @param num Any value that should be tested for being a number
|
11 | * @returns true if the parameter is a valid number, otherwise false
|
12 | */
|
13 | declare function is_number(num: unknown): boolean;
|