Function rocket_dyn_templates::minijinja::tests::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 !=.