Back to Adaptive Vision Studio website
                
                    
		
	You are here: Start » Filter Reference » Array Composition » AppendToArray
Inserts a new element at the end of an array.
| Name | Type | Description | |
|---|---|---|---|
| ioArray | <T>Array | ||
![]()  | 
				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 Basic Complexity Level.
See Also
- AccumulateElements – Creates an array from elements appearing in many iterations.
 
- InsertToArray – Inserts a new element to an array at a specified location.
 


