Arrow
Toggle table of contents
2.2.0-beta.4
common
Target filter
common
Switch theme
Search in API
Skip to content
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
.