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