NotEmptyList

fun <out E> NotEmptyList(head: E, vararg tail: E)

Creates a not empty list starting with a head and containing all the elements of the optional tail.

Parameters

E

The type of elements contained in this list.