Skip to main content

IsTrue

This Script is part of the Common Scripts Pack.#

Supported versions

Available on Cortex XSOAR, Cortex XSIAM, and Cortex XPANSE.

Checks if a given value is true. Will return "no" otherwise.

Script Data#


NameDescription
Script Typejavascript
TagsUtility, Condition

Inputs#


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

Outputs#


PathDescriptionType
TrueWhether the value is "True" (either it has an object or string True/true).Unknown
FalseWhether the value is "False" (either it has an object or string True/true).Unknown