Action group: Collections
Returns the number of elements contained in the dictionary
Action icon
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Dictionary | Dictionary for processing | Robin.Dictionary | Yes | |
Results | ||||
The number of pairs | The number of pairs «Key-Value» in the dictionary | Robin.Numeric |
None.
There is a variable "Dictionary" with values: 1 - Moscow, 2 - Tokyo. It is necessary to get the number of records and output the result (sum) in the dialog box
Use the actions "Get the number of elements in a dictionary", "Message".
The sum of dictionary entries = 2 is displayed in the dialog box.