Skip to main content

CountArraySize

This Script is part of the Common Scripts Pack.#

Supported versions

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

Counts an array's size.

Script Data#


NameDescription
Script Typejavascript
TagsUtility

Inputs#


Argument NameDescription
arrayThe array to count the size of.
contextKeyThe context key to place the result in. The default is ArraySize.

Outputs#


PathDescriptionType
ArraySizeThe array size.Unknown