Home > doofinder > isNumber

isNumber() function

Check if the provided value is a number.

Signature:

export declare function isNumber(value: unknown): boolean;

Parameters

Parameter Type Description
value unknown The value to check.

Returns:

boolean

true if the value is a number, false otherwise.