如何判断dict 里有无对应的键值?

请先 登录 后评论

1 个回答

Yingnan Wang

in函数

x=dict(`IBM`GOOG`MSFT, (1 2 3, 4 5 6, 7 8 9));
`IBM in x

可以看下这篇手册 https://www.dolphindb.cn/cn/help/DataTypesandStructures/DataForms/Dictionary.html

请先 登录 后评论