Checks if the provided value is a number.
const result1 = isNumber(42); // trueconst result2 = isNumber('42'); // falseconst result3 = isNumber(NaN); // trueconst result4 = isNumber(null); // false
The value to check.
Checks if the provided value is a number.
Example