参考 size()

size()

Returns the number of key-value pairs currently stored in the Dictionary.

示例

Returns

Integer: the number of key-value pairs in the 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!

相关参考