get keys

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

get keys v10.4.28

In pins 1
  • object required
    object
Out pins 1
  • array
    array

Outputs the object's TOP-LEVEL keys as an array, SORTED alphabetically -- not in insertion order. Non-object input yields []. Nested keys are not included.

A typical wiring for get keys: the array out pin feeds length.

Studio canvas example for the get keys block: typical wiring for get keys.

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