you could do it like this ``` fun <A,B: Any>...
# announcements
g
you could do it like this
Copy code
fun <A,B: Any> Sequence<A>.firstNotNull(process: (A) -> B?) : B? {
    return this.mapNotNull (process)
            .firstOrNull()
}