📜  快速过滤字典 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:03.779000             🧑  作者: Mango

代码示例1
let data = ["a": 0, "b": 42]
let filtered = data.filter { $0.value > 10 }
print(filtered) // ["b": 42]