notEmptyListOf

@SinceKotools(project = Project.Types, version = "3.2")
fun <E> notEmptyListOf(head: E, vararg tail: E): NotEmptyList<E>

Creates a NotEmptyList starting with a head and containing all the elements of the optional tail.