SetIfEmpty
Filters And Transformers Pack.#
This Script is part of theChecks an object for an empty value and returns a pre-set default value.
#
Script DataName | Description |
---|---|
Script Type | javascript |
Tags | transformer, general, entirelist |
Cortex XSOAR Version | 5.0.0 |
#
InputsArgument Name | Description |
---|---|
value | The object value to check, if empty. |
defaultValue | The new value to return if the original value was empty. |
applyIfEmpty | If set to true, empty strings, arrays and dictionaries and the strings "None" and "Null" are considered empty entities and the default value is returned. |
#
OutputsThere are no outputs for this script.