Size getter
Last updated
Last updated
[data/dictionary/Size getter]
Gets the number of items in the dictionary. Example:
{ "first": 1, "third": 3, "fifth": 5 }@0 received via dict
size
sends 3@0
More: https://github.com/Cranq-io/cranq-tutorials/tree/main/reference/3_querying_data/3_1_getters
Keywords: dictionary, dict, size, count, length
dict: {string: any}
Receives the dictionary to count the number of items of. Example: { "first": 1, "third": 3, "fifth": 5 }
size: number
Sends the calculated dictionary size. Example: 3