NotEmptyList
Deprecated
Use the notEmptyListOf function instead.
Replace with
import kotools.types.collections.notEmptyListOf
Content copied to clipboard
notEmptyListOf<E>(head, *tail)
Content copied to clipboard
Creates a NotEmptyList starting with a head and containing all the elements of the optional tail.