check Available Units
Checks if the number of available units in the list is greater than or equal to the amount needed.
Parameters
amount Needed
must be greater than 0
resource List
the list to consider.
Checks if the number of available units in the list is greater than or equal to the amount needed.
must be greater than 0
the list to consider.