TRpgInventory.contains
Class
Syntax
function contains(id: word): boolean;
Description
The contains method searches through the inventory to determine whether it contains any of the item referred to by id. If id is not a valid item number from the database, or if the inventory does not contain any of the item, it returns false. If the inventory does contain at least one of the item, the return value is true.
Related topics
This help file was created with the free trial version of HelpScribble.