Filter objects by multiple predicates.
preds.every
function filter(stream, preds) { return stream.filter(item => preds.every(p => p(item))); }