Array Pop

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 the Array Pop block inside a workflow where a green field appears. Doing so makes it a part of the workflow.

Procedure

Array Pop 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 Array Pop block without deleting it, use the slider on the left of its name.