Equals
Determines whether the two inputs are equivalent and returns true or false.
Syntax
Inputs in this block:
- a number
- a number
Example
This is an epidemic model. The blocks above display an agent developing immunity. To accomplish this, sick turtles are identified by checking if they have a red color and then they receive a timer using the yield block before they develop immunity.