InvRef is_empty - Uberi/MineTest-API GitHub Wiki

InvRef:is_empty

Description

return true if list is empty

Syntax

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

Examples

local empty = inventory:is_empty("main")
⚠️ **GitHub.com Fallback** ⚠️