WhereTypeExtension<T> extension

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

on

Methods

whereType<S>() Stream<S>

Available on Stream<T>, provided by the WhereTypeExtension extension

This transformer is a shorthand for Stream.where followed by Stream.cast.