isNumeric

Syntax

isNumeric(X)

Arguments

X is a STRING scalar or vector.

Details

Return “true” if all characters in the string are numbers. For STRING type NULLs, return “false”.

Examples

$ isNumeric("123456");
true

$ isNumeric("1And1");
false

$ isNumeric("10.05");
false

$ isNumeric(string());
false