参考 createStringDict()

createStringDict()

Creates a new instance of p5.StringDict using the key-value pair or the object you provide.

示例

语法

createStringDict(key, value)
createStringDict(object)

参数

key
String:
value
String:
object
Object:

object

Returns

p5.StringDict:
Notice any errors or typos? Please let us know. Please feel free to edit src/data/p5.TypedDict.js and open a pull request!

相关参考