Contents

subscript(_:)

Reads and writes the value associated with the given key as a Boolean value.

Declaration

subscript(key: String) -> Bool? { get set }

Parameters

  • key:

    The key the look up in the dictionary.

Return Value

The value associated with key in the dictionary; otherwise, nil.

See Also

Accessing keys and values