Checks if a value is of type number.
This function is a specialized version of typeOfTest that checks if the provided value is a number.
typeOfTest
The value to check.
true
false
// Returns trueisNumber(123); Copy
// Returns trueisNumber(123);
// Returns falseisNumber("123"); Copy
// Returns falseisNumber("123");
// Returns falseisNumber({}); Copy
// Returns falseisNumber({});
Generated using TypeDoc
Checks if a value is of type number.
This function is a specialized version of
typeOfTest
that checks if the provided value is a number.