Expression, Operand
This expression is used to get an opposite result of <exp>
, as in:
<exp> | Result |
---|---|
0 | 1 |
1 | 0 |
Syntax:
- Expression: !
<exp>
- Operand: expression (true, false)
Example: find 10 cards whose balances are not 0
find().nodes({@card && !balance}) as n
limit 10
return n{*}
Analysis: the filter can not be put into {!@card.balance}
, as the result would be returned as {!@card || !balance}
's otherwise.