firstInstanceOfOrNull

inline fun <R> Iterable<*>.firstInstanceOfOrNull(): R?