Clear Array

The "Clear Array" block in the GraphLinq IDE is essential for resetting or clearing the contents of an array. It is particularly useful in scenarios where data needs to be refreshed or re-initialized.

Block Description

The "Clear Array" block is categorized under Array blocks. It is designed to remove all elements from a specified array, effectively resetting it.

Input Parameters

  • Array (List<object>)**: The array whose elements are to be cleared. It must be an existing array.

Output

This block does not produce an output but rather clears the input array.

Example Use Case

In a graph that processes daily transaction data, the "Clear Array" block can be used at the end of each day to clear the array before starting to collect the next day's transactions.

Last updated