📅  最后修改于: 2022-03-11 15:01:03.229000             🧑  作者: Mango
代码示例1
let dict: [Int: String] = [1: "one", 2: "two", 4: "four"]
if let key = dict.someKey(forValue: "two") {
print(key)
} // 2