app-workflow_engine

On this page:

unshift

Summary

Adds an element to the front of an array.

Description

Adds one element to the beginning of an array.

Route

No Northbound API Available

Roles

Parameters

DetailsExampleSchema
Name Type Required Description
arr array yes The array to unshift
elementN * yes The element to add to the front of the array

Return

DetailsExampleSchema
Name Type Description
unshiftedArray array The shifted array with new elements at the front