Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Array » Array Composition » AppendToArray

AppendToArray


Module: FoundationLite

Inserts a new element at the end of an array.

Name Type Description
Input will be modified ioArray <T>Array
Input value inValue <T> Value to be appended

The type of this filter is defined using the type variable T which represents any valid type. Read more.

Description

The operation inserts the inValue element at the end of the inArray.

Hints

  • Do NOT use this filter to add multiple objects in a loop. Use AccumulateElements instead.

Examples

inArray = {6,7,3,4,10}
inValue = 4
outArray = {6,7,3,4,10,4}

Complexity Level

This filter is available on Advanced Complexity Level.

See Also

  • InsertToArray – Inserts a new element to an array at a specified location.