is_numeric [function]

is_numeric( var )

returns whether the variable var is numeric - one of bool/int/real or a numeric string

is_numeric( 12.124 ); // returns true
is_numeric( "what" ); // returns false