turtle.compareDown

From ComputerCraft
Jump to navigation Jump to search


turtle.compareDown
Function
Syntax
turtle.compareDown()
Returns boolean true | boolean false, nil nil
API turtle
Source CC:Tweaked

Compares the block in the currently selected inventory slot to the block directly below the turtle.

Returns true if there is nothing in both the inventory slot, and nothing below the turtle.