Arrow
Toggle table of contents
2.1.1
common
Platform filter
common
Switch theme
Search in API
Arrow
arrow-core
/
arrow.core
/
toNonEmptyListOrThrow
to
Non
Empty
List
Or
Throw
@
JvmName
(
name
=
"toNonEmptyListOrThrow"
)
fun
<
T
>
Iterable
<
T
>
.
toNonEmptyListOrThrow
(
)
:
NonEmptyList
<
T
>
?
Returns a
NonEmptyList
that contains a
copy
of the elements in
this
.