Instance Property


The value of this string.


var description: String { get }


Using this property directly is discouraged. Instead, use simple assignment to create a new constant or variable equal to this string.


See Also

Describing a String

var debugDescription: String

A representation of the string that is suitable for debugging.

var customMirror: Mirror

A mirror that reflects the String instance.

var hashValue: Int

The hash value.

func hash(into: inout Hasher)

Hashes the essential components of this value by feeding them into the given hasher.