comprehension

Function comprehension 

Source
pub fn comprehension(
    op: ComprehensionOp,
    target: impl Into<Expr>,
    iter_var: &str,
    predicate: impl Into<Expr>,
) -> Expr
Expand description

Creates an Expr::Comprehension node (e.g., list.all(i, i > 0)).