Instance Property

isEmpty

A Boolean value indicating whether a string has no characters.

Declaration

var isEmpty: Bool { get }

Relationships

From Protocol

See Also

Inspecting a String

var count: Int

The number of characters in a string.