toNonEmptyListOrNull

@JvmName(name = "toNonEmptyListOrNull")
fun <T> Iterable<T>.toNonEmptyListOrNull(): NonEmptyList<T>?

Returns a NonEmptyList that contains a copy of the elements in this.