ArrayPop

Overview


This block offers a programming method that removes the last element in an array and returns the element as the result.

It also changes the length of the array when an element is removed or returned.

Drag and drop ArrayPop inside a workflow where a green field appears. Doing so makes it a part of the workflow.

Procedure

ArrayPop works well with ForEach loops.

  1. Specify the Array in the first field of the block.

  2. Run the workflow to see the effect applied.

To disable an ArrayPop block without deleting it, use the slider on the left of its name.