Summary
Shifts the array by one.
Description
Removes the first element from an array. This method changes the length of the array.
Route
No Northbound API Available
Roles
Parameters
DetailsExampleSchema
Name | Type | Required | Description |
---|---|---|---|
arr | array | yes | The array to shift |
Return
DetailsExampleSchema
Name | Type | Description |
---|---|---|
shiftedArray | array | The shifted array; undefined if the array is empty |