Skip to content
On this page

isNumber

Identifies if a value is a number.

Type Definitions

ts
/**
 * @param val - The value.
 * @returns If the value is a number.
 */
export declare function isNumber(val: unknown): val is number
1
2
3
4
5