Operators

 The following operators are available in XForms.

The supported data types are String, Number, Boolean and DateTime.

List type is supported only by the Plus Operator for concatenations.

Arithmetic

OperatorDescriptionPrécédence
-Numerical negation or subtraction. See Minus Operator.2
+Addition or concatenation of strings. See Plus Operator.2
*Multiplication. See Mult Operator.3
/Division3
%Modulo3
^Raised to the power4
&Concatenation of strings2
??Coalescing operator (Qubes 6.7)5

Comparison

OperatorDescriptionPrécédence
=Is equal to1
<>Difference (is not equal to)1
<Less than1
<=Less than or equal to1
>Greater than1
>=Greater than or equal to1

Logical

OperatorDescriptionPrécédence
NotLogical negation2
AndLogical and0
OrLogical or0
XorExclusive or0

Qualification

OperatorDescriptionPrécédence
:Rectangular grid range10
!Qualification of a layer or name space9
[ ]Indexing a sub-element using its index8