We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e39c04b + a97a0c5 commit 31a48edCopy full SHA for 31a48ed
KakaJSON/Extension/Dictionary+KJ.swift
@@ -89,7 +89,7 @@ extension Dictionary where Key == String {
89
if value == nil { return nil }
90
} else if let array = value as? [Any] {
91
guard let index = Int(subKey),
92
- array.indices ~= index else { return nil }
+ case array.indices = index else { return nil }
93
value = array[index]
94
}
95
0 commit comments