The position of a key-value pair in a dictionary.
SDK
- Xcode 8.3+
Framework
- Swift Standard Library
Declaration
Overview
Dictionary has two subscripting interfaces:
Subscripting with a key, yielding an optional value:
Subscripting with an index, yielding a key-value pair: