mapNotNull

fun <T, R : Any> Iterator<T>.mapNotNull(mapper: (T) -> R?): Iterator<R>(source)