is empty

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

is empty v10.4.28

checks if the object is empty

In pins 1
  • Object required
    object

    The object to be checked.

Out pins 1
  • condition
    condition

    The condition that tells if the given object is empty or not.

True when the object pin is nil/missing, not an object, or an object with zero keys; false when it has at least one key. Key values are irrelevant: an object whose only key is set to null is NOT empty.

A typical wiring for is empty: the condition out pin feeds branch.

Studio canvas example for the is empty block: typical wiring for is empty.

Version history

Introduced in v10.4.28.


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