2015-12-19 14:52:17 +01:00
|
|
|
title: >=
|
|
|
|
---
|
|
|
|
summary: True if the left side is larger or equal to the right side.
|
|
|
|
---
|
|
|
|
type: operator
|
|
|
|
---
|
|
|
|
body:
|
|
|
|
|
2016-02-11 01:13:37 +01:00
|
|
|
This evaluates to true if the left side compares larger than the right side
|
2015-12-19 14:52:17 +01:00
|
|
|
or equal to it. This behavior works best with [integers
|
|
|
|
:ref](../../types/integer/) or [floats :ref](../../types/float/).
|
|
|
|
|
|
|
|
## Template Example
|
|
|
|
|
|
|
|
```html+jinja
|
|
|
|
<h3>3 or more Stars</h3>
|
|
|
|
<ul>
|
|
|
|
{% for item in this.children.filter(F.stars >= 3) %}
|
2016-07-22 17:47:09 +02:00
|
|
|
<li>{{ item.name }}: {{ item.stars }} stars</li>
|
2015-12-19 14:52:17 +01:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
```
|