count-frogs-with [list of commands]
Returns the number of turtles whose breed
is frogs and satisfy the conditions (must return a boolean of true or
false) specified by the [list of commands] .
Examples:
count-frogs-with [color = blue] returns the number of blue frogs.
Related commands:
count-frogs, count-frogs-at
, count-frogs-towards
|