参考 hasKey()

hasKey()

Returns true if the given key exists in the Dictionary, otherwise returns false.

示例

语法

hasKey(key)

参数

key
Number|String:

that you want to look up

Returns

Boolean: whether that key exists in Dictionary
Notice any errors or typos? Please let us know. Please feel free to edit src/data/p5.TypedDict.js and open a pull request!

相关参考