key -> value

This block is part of the object group and was last modified in core v10.4.28.

key -> value v10.4.28

In pins 6
  • key required
    value
  • Value required
    value
  • Number required
    number
  • Object required
    object
  • Condition required
    condition
  • Array required
    array
Out pins 1
  • object
    object

Outputs a single-entry object {key: value} where value is the FIRST connected typed pin that is non-null (false, 0 and "" are accepted; null and NaN are skipped) and the key is stringified. When no value or no key resolves, the out-pin is NOT written at all -- downstream consumers see their own defaults instead of {}.

A typical wiring for key -> value: the object out pin feeds custom field.

Studio canvas example for the key -> value block: typical wiring for key -> value.

Version history

Introduced in v10.4.28.


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