select

fun <S> select(p: (S) -> Boolean): Fold<S, S>(source)

Creates a Fold based on a predicate of the source S