Companion
object Companion
Contains static declarations for the NotEmptySet type.
Functions
Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V4_5_0)
Creates a NotEmptySet containing all the elements of the specified collection, or throws an IllegalArgumentException if the collection is empty.
Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V4_5_0)
Creates a NotEmptySet containing all the elements of the specified collection, or returns null
if the collection is empty.
Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V4_5_0)
Creates a NotEmptySet starting with a head and containing all the elements of the optional tail.