Skip to main content

FirstArrayElement

This Script is part of the Filters And Transformers Pack.#

Returns the first element of an array. If the value passed is not an array, it returns the original value that was passed.

Script Data#


NameDescription
Script Typepython3
Tagsgeneral, transformer, entirelist
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
valueAn array for which to return the first element.

Outputs#


There are no outputs for this script.