charges |
Discworld expression help |
charges |
Name
charges - finds the number of charges left in an item.
Syntax
int charges(array object obs)
Description
This method will find the number of charges left in the specified objects.
Examples
charges(objects) > 10