String IsNumeric Example

Demonstrates the use of the String IsNumeric viper.

Smartsite SXML CopyCode image Copy Code
{string.isnumeric(hello)} => false
{string.isnumeric(10)} => true
{string.isnumeric(1 + 4)} => true
{string.isnumeric(10.10)} => false
{string.isnumeric(10a)} => false
Example Result CopyCode image Copy Code
false => false
true => true
true => true
false => false
false => false
SXML