Function Reference

IsNumber

Checks if a variable's base type is numeric.

IsNumber ( variable )

 

Parameters

variable The variable/expression to check.

 

Return Value

Success: Returns 1.
Failure: Returns 0 if expression is not numeric type.

 

Remarks

Variants can be of two base types: Strings and Numbers. Additionally, a number can be whole (integer) or fractional/floating-point.

 

Related

IsArray, IsFloat, IsInt, IsString

 

Example


IsNumber(42)