Skip to main content

Exists

This Script is part of the Common Scripts Pack.#

Checks if a given value exists in the context. The script will return "no" for an empty arrays. This script should be used mostly with DQ and selectors.

Script Data#


NameDescription
Script Typejavascript
TagsUtility, Condition

Inputs#


Argument NameDescription
valueThe value to check if it exists. It can handle arrays as well.

Outputs#


PathDescriptionType
TrueWhether the given value exists in context.Unknown
FalseWhether the given value does not exist in context.Unknown