View Source Iter.Iterable.Filterer (iterex v0.1.2)

An iterable which drops elements for which predicate doesn't return a truthy value.

Summary

Functions

Create a new filter iterable.

Types

@type t() :: %Iter.Iterable.Filterer{
  iterable: Iter.Iterable.t(),
  predicate: (Iter.Iterable.element() -> as_boolean(any()))
}

Functions

Link to this function

new(iterable, predicate)

View Source

Create a new filter iterable.