Instance Property

isEmpty

A Boolean value that indicates whether the set is empty.

Declaration

var isEmpty: Bool { get }

Relationships

From Protocol

See Also

Inspecting a Set

var count: Int

The number of elements in the set.

var capacity: Int

The total number of elements that the set can contain without allocating new storage.