SocialluxSociallux
Toggle navigation menu
Docs navigationv

Primitive

array.remove

BETA

Short name: remove

Version: 1.0.0

Return a new array with one element removed by value or by index.

Back to primitive library

Inputs

KeyTypeRequiredDescription
arrayarraytrueInput array.
indexnumberfalseZero-based index to remove.
valueanyfalseValue to remove (first matching occurrence).

Outputs

KeyTypeRequiredDescription
resultarrayfalseArray with selected element removed.