StackOverflow 文档 D Language 教程 关联数组 检查是否存在密钥 检查是否存在密钥 Created: November-22, 2018 int[string] numbers = ["a" : 10, "b" : 20]; assert("a" in numbers); assert("b" in numbers); assert("c" in numbers); 删除键值对