custom first defined

This block is part of the object group and was last modified in core v12.0.4.

custom first defined v12.0.4

Get the value at the first of the given paths that exists in the object and is not null

In pins 2
  • object required
    object
  • fields required
    array
Out pins 1
  • value
    value

Returns the value at the FIRST dot path in the array pin (tried in array order) that exists in the object with a non-null value; null-valued paths are skipped, not returned. Outputs nil when no path matches, the paths list is empty, or the input is not an object.

coalesce

A typical wiring for custom first defined: new object feeds the object pin; with values feeds the array pin; the value out pin feeds convert to uppercase.

Studio canvas example for the custom first defined block: typical wiring for custom first defined.

Version history

Introduced in v12.0.4.


Back to object Return to the main group to view all sub-groups Back to get Return to the group to view all blocks within this group