list-of-breed-with
[condition]
Parameters:
[condition] |
List of turtle commands |
list of commands that evaluates to true or false |
Description:
Returns a list of turtles of breed indicated by breed
satisfying condition
.
Examples:
list-of-frogs-with [color = green]
will return a list of turtles that are breed frogs
and have color green
.
list-of-cars-with [color = black]
will return a list of turtles that are breed cars
and have color black
.
Notes:
Note [condition] must be a boolean statement and return true or false.
Related Commands:
list-of-breed
list-of-turtles-with