Primitive
array.remove
BETAShort name: remove
Version: 1.0.0
Return a new array with one element removed by value or by index.
Back to primitive libraryInputs
| Key | Type | Required | Description |
|---|---|---|---|
| array | array | true | Input array. |
| index | number | false | Zero-based index to remove. |
| value | any | false | Value to remove (first matching occurrence). |
Outputs
| Key | Type | Required | Description |
|---|---|---|---|
| result | array | false | Array with selected element removed. |