OfTypeExtension<T> extension

on

Methods

ofType<TOther>() Iterable<TOther>
Returns all elements in the iterable that are castable to the specified type.
ofType2<T1, T2>() Iterable<T>
Returns all elements in the iterable that are castable to one of the specified types.
ofType3<T1, T2, T3>() Iterable<T>
Returns all elements in the iterable that are castable to one of the specified types.
ofType4<T1, T2, T3, T4>() Iterable<T>
Returns all elements in the iterable that are castable to one of the specified types.
ofType5<T1, T2, T3, T4, T5>() Iterable<T>
Returns all elements in the iterable that are castable to one of the specified types.
ofType6<T1, T2, T3, T4, T5, T6>() Iterable<T>
Returns all elements in the iterable that are castable to one of the specified types.
ofType7<T1, T2, T3, T4, T5, T6, T7>() Iterable<T>
Returns all elements in the iterable that are castable to one of the specified types.
ofType8<T1, T2, T3, T4, T5, T6, T7, T8>() Iterable<T>
Returns all elements in the iterable that are castable to one of the specified types.
ofType9<T1, T2, T3, T4, T5, T6, T7, T8, T9>() Iterable<T>
Returns all elements in the iterable that are castable to one of the specified types.