34 lines
684 B
Markdown
34 lines
684 B
Markdown
![]() |
# lte
|
||
|
|
||
|
Returns true if the first argument is less than or equal to the second argument.
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
* a (`integer`, `float`, `double`) - The first number.
|
||
|
* b (`integer`, `float`, `double`) - The second number.
|
||
|
|
||
|
## Return
|
||
|
|
||
|
(`boolean`) - True if the first argument is less 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": "lte",
|
||
|
"_": {
|
||
|
"a": 10,
|
||
|
"b": 2
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### Last Updated
|
||
|
|
||
|
Monday, December 30th, 2022.
|
||
|
Written by [Netkas](https://git.n64.cc/netkas)
|