PXC Documentation

PXC Home

Array Insert

1.18.0



Node Data

ValuesPb Array

Display name

Array Insert

Internal name

Node_Array_Insert

Inheritances

node
node_array_insert

Inputs

node_array_insert

any

Array

int

Index

any

Value

bool

Spread Array

Outputs

node_array_insert

any

Array

Insert an element into an array at a specific index.



Properties


Array


The array to insert the element into.


Index


The index to insert the element at.



Value


The value to insert.


Spread Array


If the value is an array, choose whether to insert each element of the array individually, or insert the entire array as nested array.


If both Index and Value are arrays, the output will be an array with the values inserted at the specified indexes.