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");
// output
true

isNumeric("1And1");
// output
false

isNumeric("10.05");
// output
false

isNumeric(string());
// output
false