values
All values of this map.
Calling from Kotlin
Here's an example of calling this property from Kotlin code:
val map: NotEmptyMap<Char, Int> = notEmptyMapOf('a' to 1, 'b' to 2)
val values: NotEmptyList<Int> = map.values
assertEquals(expected = "[1, 2]", actual = "$values")
Content copied to clipboard