`Dictionary.updateValue(_:forKey:)` that returns dictionary index

is there a form of Dictionary.updateValue(_:forKey:) that returns the index of the updated/inserted dictionary element?

Terms of Service

Privacy Policy

Cookie Policy