Instance Property


The hash value.


var hashValue: Int { get }


Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution.


From Protocol

See Also

Inspecting a Boolean

var customMirror: Mirror

A mirror that reflects the Bool instance.

var customPlaygroundQuickLook: _PlaygroundQuickLook

A custom playground Quick Look for the Bool instance.

func hash(into: inout Hasher)

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software