rocket_dyn_templates::minijinja::filters

Function reject

Source
pub fn reject(
    state: &State<'_, '_>,
    value: Value,
    test_name: Option<Cow<'_, str>>,
    args: Rest<Value>,
) -> Result<Vec<Value>, Error>
Expand description

Creates a new sequence of values that don’t pass a test.

This is the inverse of select.