NonEmptyList

class NonEmptyList<T>(first: T, rest: List<T> = listOf())

Constructors

Link copied to clipboard
fun <T> NonEmptyList(first: T, rest: List<T> = listOf())

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val elements: List<T>