isDigit

Syntax

isDigit(X)

Arguments

X is a STRING scalar or vector.

Details

Return "true" if all characters in the string are numbers. For null values of the STRING type, return "false".

Examples

isDigit("123456");
// output: true

isDigit("1And1");
// output: false

isDigit("10.05");
// output: false

isDigit(string());
// output: false