minijinja::tests

Function is_ge

Source
pub fn is_ge(value: &Value, other: &Value) -> bool
Expand description

Test version of >=.

This is useful when combined with select.

{{ 2 is ge 1 }} -> true
{{ [1, 2, 3]|select(">=", 2) }} => [2, 3]

By default aliased to >=.