get first filled

This block is part of the array group and was last modified in core v13.0.8.

get first filled v13.0.8

will return the second array if the first is empty.

In pins 2
  • first required
    array
  • second required
    array
Out pins 1
  • array
    array

Returns the FIRST non-empty array among the first pin, then second, then any extended array pins in pin-name order; empty arrays are skipped, NOT returned. If every input is empty or not an array, outputs null rather than an empty array.

empty

A typical wiring for get first filled: with values feeds the first pin; with values feeds the second pin; the array out pin feeds length.

Studio canvas example for the get first filled block: typical wiring for get first filled.

Version history

Introduced in v13.0.8.


Back to array Return to the main group to view all sub-groups Back to expressions Return to the group to view all blocks within this group