ItemStack is_empty - Uberi/MineTest-API GitHub Wiki

ItemStack:is_empty

Description

return true if stack is empty

Syntax

[boolean](../type/boolean.html) is_empty()

Examples

if stack:is_empty() then
	print("Stack is empty")
else
	print("Stack is not empty")
end
⚠️ **GitHub.com Fallback** ⚠️