Skip to main content

LastArrayElement

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

Returns the last 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 last value.

Outputs#


There are no outputs for this script.