transpose

fun <V> Segment<V?>.transpose(): Segment<V & Any>?

Converts a non-null segment of a maybe-null value into a maybe-null segment of a non-null value.