This function allows to accomplish logical negations.
1 eval.not
<eval.not>
<value /> !
</eval.not>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evalue |
Returns | |
---|---|
Type | Description |
Boolean | Returns a boolean value (true | false) according to the following list:
|
Example
Copy
<xsql-script name='sample'> <body> <!-- not false: 1 (true) --> <println>not false: <eval.not><false /></eval.not></println> <!-- not hello: 1 (true) --> <println>not hello: <eval.not><string>hello</string></eval.not></println> <!-- not '0.0': 1 (true) --> <println>not '0.0': <eval.not><string>0.0</string></eval.not></println> <!-- not 4: 1 (true) --> <println>not 4: <eval.not>4</eval.not></println> </body> </xsql-script>