size
The size of this map.
Here's a simple usage example:
val map: NotEmptyMap<Char, Int> = notEmptyMapOf('a' to 1, 'b' to 2)
val size: StrictlyPositiveInt = map.size
println(size) // 2
Content copied to clipboard
The size of this map.
Here's a simple usage example:
val map: NotEmptyMap<Char, Int> = notEmptyMapOf('a' to 1, 'b' to 2)
val size: StrictlyPositiveInt = map.size
println(size) // 2