Checks if a given value is of number type.
isNumber(10)// => trueisNumber(hello)// => false Copy
isNumber(10)// => trueisNumber(hello)// => false
The expected type of the number value.
The value to be checked.
true if the given value is of number type, false otherwise.
true
false
Generated using TypeDoc v0.24.7
Checks if a given value is of number type.
Example