UNPKG

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