Returns true or false of the character is a digit or not.
 

1 character.isDigit

<character.isDigit>
    <data /> !
</character.isDigit>

Exceptions

requires 1 argument, received [...]

Missing a parameter.

single character required while received [...]

A single character is required.

Example

Analyze if its a digit.

Copy
<xsql-script name='character.isDigit_sample1'>
    <body>
        <println>
            <character.isDigit>*</character.isDigit>
        </println>
        <!-- Show false -->
        <println>
            <character.isDigit>8</character.isDigit>
        </println>
        <!-- Show true -->
    </body>
</xsql-script>
Example

The result will be:

Copy
false
true