Cloud Workflow Operators
The following table lists the precedence of cloud workflow operators. Operators are listed top to bottom, in descending precedence.
Precedence |
Operators |
Notes |
0 |
[] |
slice operator (retrieve item(s) of array, hash or collection given an index, key or range) |
1 |
^ |
exponent |
2 |
!, +, - |
logical not, unary plus, unary minus |
3 |
*, /, % |
multiplication, division, modulo |
4 |
+, - |
addition or string, array or collection concatenation - subtraction or array collection difference |
5 |
<< |
array append |
6 |
==, !=, =~, !~, >=, <=, >, < |
relational and equality operators |
7 |
& |
bitwise AND |
8 |
| |
bitwise OR |
9 |
&& |
logical AND |
10 |
|| |
logical OR |