Reference hasKey()

hasKey()

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

Examples

Syntax

hasKey(key)

Parameters

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!

Related References