isEmpty Returns whether the text range is empty. Declarationvar isEmpty: Bool { get } See AlsoCharacteristics of the text rangelocationendLocation