Companion
object Companion
Contains static declarations for the NotEmptyMap type.
Functions
Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V4_5_0)
Creates a NotEmptyMap containing all the entries of the specified map, or throws an IllegalArgumentException if the map is empty.
Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V4_5_0)
Creates a NotEmptyMap containing all the entries of the specified map, or returns null
if the map is empty.