WhereTypeExtension<T> extension

Extends the Stream class with the ability to filter down events to only those of a specific type.

on
  • Stream<T>

Methods

whereType<S>() → Stream<S>
This transformer is a shorthand for Stream.where followed by Stream.cast. [...]