toNotEmptyMap
Deprecated
Use the Map.toNotEmptyMapOrThrow function instead.
Replace with
import kotools.types.collections.toNotEmptyMapOrThrow
Content copied to clipboard
this.toNotEmptyMapOrThrow()
Content copied to clipboard
Returns a NotEmptyMap containing all the entries of this map, or throws a NotEmptyMap.ConstructionError if this map is empty.