mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-29 15:15:23 -07:00
modified: Operators.md
+1
-1
@@ -5,7 +5,7 @@ Liquid operators are very simple and different. According to the [operators docu
|
|||||||
* Comparison operators: `==`, `!=`, `>`, `<`, `>=`, `<=`
|
* Comparison operators: `==`, `!=`, `>`, `<`, `>=`, `<=`
|
||||||
* Logic operators: `or`, `and`, `contains`
|
* Logic operators: `or`, `and`, `contains`
|
||||||
|
|
||||||
Thus numerical operators are not supported and you cannot even plus two numbers `{{a + b}}`. Actually `+` is a valid variable name.
|
Thus numerical operators are not supported and you cannot even plus two numbers like this `{{a + b}}`, instead we need a filter `{{ a | plus: b}}`. Actually `+` is a valid variable name.
|
||||||
|
|
||||||
## Precedence
|
## Precedence
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user