22 lines
397 B
Plaintext
22 lines
397 B
Plaintext
|
title: !=
|
||
|
---
|
||
|
summary: Compares an expression to another by ensuring inequality.
|
||
|
---
|
||
|
type: operator
|
||
|
---
|
||
|
body:
|
||
|
|
||
|
This checks if the left side of the expression does not match the right side
|
||
|
by doing a exact comparision:
|
||
|
|
||
|
## Example
|
||
|
|
||
|
```html+jinja
|
||
|
<h2>Everything Other Than Houses</h2>
|
||
|
<ul>
|
||
|
{% for project in this.children.filter(F.type != 'house') %}
|
||
|
<li>{{ project.name }}
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
```
|