Skip to main content

filter

Function filter 

Source
pub fn filter(
    items: Vec<Value>,
    filters: &[FilterExpr],
    command: Option<&str>,
) -> Vec<Value>
Expand description

Keeps only the elements accepted by every predicate.