is array () empty?

From PenguinMod Wiki
Is array () empty?
Jump to navigation Jump to search
is array () empty?
...
[[File:|200px]]
Caption
Block Type Boolean Block
Category / Extension JSON
Status Who tf uses status

The is array () empty? block is a boolean block that reports true if the entered in array is empty and false otherwise. The default value for this block is "["A", "B", "C"]".

Workaround

This block can be worked around by checking if the length of the array is 0 using the equals block and the length of array () block.