Greater Than Or Equal To
Determines if the first input is greater than or equal to the second input and returns true or false.

Description
The Greater Than Or Equal To block determines if the first input is greater than or equal to the second input and returns true or false. This is a code block from the Logic drawer.
Usage
Determines if the first input is greater than or equal to the second input and returns true or false.
Syntax
Inputs in this block:
- A number
- A number
Example
This is a model of a hungry frog attempting to catch two different types of fly. While 'fly around' is toggled, the frog moves toward the closest fly. The fly detects whether the frog is nearby and will move in the opposite direction. The >= block is used to determine the speed of each fly based on the size of each agent. In this case, large flies are fast, whereas small flies are slow. It can be seen from the line graph that the population of the larger, faster flies falls more slowly than the smaller, slower flies.

Related Blocks
- Less Than Or Equal To - Returns true if first input is less than or equal to second
- Greater Than - Returns true if first input is greater than second
- Equals - Returns true if inputs are equal