filterIsInstance

inline fun <B> Option<*>.filterIsInstance(): Option<B>(source)

Returns an Option containing all elements that are instances of specified type parameter B.


inline fun <K, R> Map<K, *>.filterIsInstance(): Map<K, R>(source)

Returns a Map containing all elements that are instances of specified type parameter R.