rocket_dyn_templates::minijinja::tests

Function is_lt

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

Test version of <.

This is useful when combined with select.

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

By default aliased to lessthan and <.