firstInstanceOf

inline fun <R> Iterable<*>.firstInstanceOf(): R