countItem
countItem(
entity,item):number
The copies of item in the entity’s bag, whatever each copy’s data.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
item |
string |
Returns
Section titled “Returns”number
countItem(
entity,item):number
The copies of item in the entity’s bag, whatever each copy’s data.
| Parameter | Type |
|---|---|
entity |
Entity |
item |
string |
number