Function all

Source
fn all(root: &StreamNode, p: &impl Fn(&StreamNode) -> bool) -> bool