minijinja::tests

Function is_ne

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

Test version of !=.

This is useful when combined with select.

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

By default aliased to !=.