Remove from Array

 
 
 

Categories

  • Array

Description

Outputs and removes the element at the specified index in the input array.

The elements in the input array that are at an index greater than the specified input index will be shifted by -1 in the resulting array.

Ports

Inputs

Index

The index of the element to remove from the input (0-based) array. If the index is greater than or equal to the size of the input array, no element will be removed.

Array

The array containing the element to remove.

Outputs

Value

The removed element. If the specified index is greater than or equal to the size of the input array, the default value of the node's type is returned instead.

Result

The modified array.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License