getItemCount
Arguments
inventoryName (string): The name of the inventory.
item (string): The item to count.
metadata (table, optional): Additional metadata for the item.
Returns
count (number): The quantity of the item in the inventory.
Example Usage
Return Structure
If item is found in the inventory:
If item is not found in the inventory:
Last updated