- it is the item to check for.
Returns the amount of an item you currently have in your inventory; does not include items in your Colossal Closet or Hagnk's storage.
This example function will return the total number of knob goblin firecrackers in your inventory, closet and Hagnk's.
The CLI command "inventory" functions similarly.
When not logged in, this function returns 0.