Skip to content

Dictionary Contains Key

Type: dict-contains-key  ·  Package: Collections Activities v1.0.0  ·  Output: boolean

Checks if a dictionary contains a key and saves true/false to a variable. Use it before reading a value to avoid unexpected nulls.

Checks whether key key exists in dict and saves the result to outputVariable.

ParameterEditorDescription
dictexpressionThe dictionary.
keyexpressionThe key to check.
outputVariablenombre de variableVariable where to save the result.
Dictionary Contains Key dict = = config key = "timeout" outputVariable = tiene
If condition = = !tiene
└─ then:
Set Dictionary Value dict = = config key = "timeout" value = 30000 // valor by default