xdash / isNum
Function: isNum()
isNum(
value
):value is number
Determines if a value is a number.
Parameters
• value: unknown
value to check
Returns
value is number
true if the value is a number, false otherwise
xdash / isNum
isNum(
value
):value is number
Determines if a value is a number.
• value: unknown
value to check
value is number
true if the value is a number, false otherwise