Returns the first index where the specified value appears in the collection.
SDK
- Xcode 10.2–10.2Deprecated
Framework
- Swift Standard Library
Declaration
func index(of element: Key) -> Dictionary<Key, Value>.Index?
Available when Element conforms to Equatable.