toNonEmptyListOrNull

fun <A> Iterable<A>.toNonEmptyListOrNull(): NonEmptyList<A>?