isNumeric
Stentor API Reference / stentor-utils/src / isNumeric
Function: isNumeric()
isNumeric(
num):boolean
Defined in: packages/stentor-utils/src/number.ts:188
Check to see if the provided parameter is a number.
"2" or 2 will return true.
Source https://stackoverflow.com/a/42356340/1349766
Parameters​
num​
any
The value to check if it is numeric
Returns​
boolean
True if the value is numeric.