WhereTypeExtension<T> extension
Extends the Stream class with the ability to filter down events to only those of a specific type.
- on
-
- Stream<
T>
- Stream<
Methods
-
whereType<
S> () → Stream< S> -
Available on Stream<
This transformer is a shorthand for Stream.where followed by Stream.cast.T> , provided by the WhereTypeExtension extension