rtex-engine/docs/instructions/greater_than_or_equals.md
2022-12-29 16:11:06 -05:00

34 lines
No EOL
758 B
Markdown

# greater_than_or_equals
Returns true if the first argument is greater than or equal to the second argument.
## Parameters
* a (`integer`, `float`, `double`, `instruction`) - The first number.
* b (`integer`, `float`, `double`, `instruction`) - The second number.
## Return
(`boolean`) - True if the first argument is greater than or equal to the second argument.
## Exceptions
* `EvaluationException` - If there was an error while evaluating one or more parameters.
* `TypeException` - If one or more parameters are not of the expected type.
## Instruction Example
```json
{
"type": "greater_than_or_equals",
"_": {
"a": 10,
"b": 2
}
}
```
### Last Updated
Monday, December 29th, 2022.
Written by [Netkas](https://git.n64.cc/netkas)