You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-15Lines changed: 14 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,16 +209,15 @@ When using multiple operators, they will be evaluated according to their precede
209
209
filter(.age >= 18 and .age <= 65)
210
210
```
211
211
212
-
The operators have the following precedence, from lowest to highest:
212
+
The operators have the following precedence, from highest to lowest:
213
213
214
-
-
215
-
-`or`
216
-
-`and`
217
-
-`==`, `!=`
218
-
-`>`, `>=`, `<`, `<=`, `in`, `not in`
219
-
-`+`, `-`
220
-
-`*`, `/`, `%`
221
214
-`^`
215
+
-`*`, `/`, `%`
216
+
-`+`, `-`
217
+
-`>`, `>=`, `<`, `<=`, `in`, `not in`
218
+
-`==`, `!=`
219
+
-`and`
220
+
-`or`
222
221
223
222
See section [Function reference](reference/functions.md) for a detailed overview of all available functions and operators.
224
223
@@ -411,17 +410,17 @@ Here:
411
410
412
411
You can have a look at the source code of the functions in`/src/functions.ts`for more examples.
413
412
414
-
-`operators` is an optional array with maps of operators having the same precedence, ordered from lowest to highestprecedence. The default array with operators is the following, with the precedence going from lowest to highest:
413
+
-`operators` is an optional array with maps of operators having the same precedence, ordered from highest to lowestprecedence. The default array with operators is the following, with the precedence going from lowest to highest:
0 commit comments