ItemStack is_known - Uberi/MineTest-API GitHub Wiki

ItemStack:is_known

Description

returns true if the item name refers to a defined item type

Syntax

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

Examples

if stack:is_known() then
	print("Known item")
else
	print("Unknown item")
end
⚠️ **GitHub.com Fallback** ⚠️