(Official) LUA Scripting Documentation
is_item_class
Gets the the specified item class.
Spec:
is_item_class()
Returns
bool: Returns true if the given item and class match.
Example
print(is_item_class(item.sledgehammer, "SledgeHammer"))
This will print true as the Sledgehammer has the class of SledgeHammer.
Incomplete
This documentation is incomplete