toNotEmptySet
@SinceKotools(project = Project.Types, version = "3.2")
Content copied to clipboard
Returns a NotEmptySet containing all the elements of this collection, or an IllegalArgumentException if this collection is empty.