tail

All entries of this map except the first one.


Calling from Kotlin

Here's an example of calling this property from Kotlin code:

val expected: NotEmptyMap<Char, Int> = notEmptyMapOf('b' to 2, 'c' to 3)
val actual: NotEmptyMap<Char, Int>? = expected.toMap()
.toList()
.toTypedArray()
.let { notEmptyMapOf('a' to 1, *it) }
.tail
assertEquals(expected, actual)