mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
478 B
TypeScript
14 lines
478 B
TypeScript
// Type definitions for is-number-like 1.0
|
|
// Project: https://github.com/vigour-io/is-number-like#readme
|
|
// Definitions by: Florian Keller <https://github.com/ffflorian>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/**
|
|
* Checks whether provided parameter looks like a number
|
|
* @param val the value to check
|
|
* @returns `true` if `val` looks like a number, `false` otherwise
|
|
*/
|
|
declare function isNumberLike(val: any): boolean;
|
|
|
|
export = isNumberLike;
|