Skip to content

Dictionary Count

Type: dict-count  ·  Package: Collections Activities v1.0.0  ·  Output: int

Gets how many key-value pairs a dictionary has and stores it in a variable.

Counts the dict entries and stores the number in outputVariable.

ParameterEditorDescription
dictexpressionThe dictionary.
outputVariablenombre de variableVariable where to save the count.
Dictionary Count dict = = totales outputVariable = n
Log message = = "Hay " + n + " categorías"