pub fn is_le(value: &Value, other: &Value) -> bool
Available on crate feature
builtins
only.Expand description
Test version of <=
.
This is useful when combined with select
.
{{ 1 is le 2 }} -> true
{{ [1, 2, 3]|select("<=", 2) }} => [1, 2]
By default aliased to <=
.