toNonEmptyListOrThrow

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

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