Initializing help system before first use

is_consuming

is_consuming


Purpose
Returns true IFF the specified task consumes a specific resource.
Synopsis
function is_consuming(task:cptask, resource:cpresource) : boolean
Arguments
task 
the task
resource 
the resource
Return value
true IFF the task consumes the specified resource, false otherwise
Related topics