isDigit

Syntax

isDigit(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

$ isDigit("123456");
true

$ isDigit("1And1");
false

$ isDigit("10.05");
false

$ isDigit(string());
false