2022-12-30 03:01:38 -05:00
|
|
|
# eq
|
2022-12-29 14:17:56 -05:00
|
|
|
|
|
|
|
Returns true if the two values are equal, false otherwise.
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
2022-12-30 03:01:38 -05:00
|
|
|
* a (`integer`, `float`, `double`, `string`, `boolean`) - The first value to compare.
|
|
|
|
* b (`integer`, `float`, `double`, `string`, `boolean`) - The second value to compare.
|
2022-12-29 14:17:56 -05:00
|
|
|
|
|
|
|
## Return
|
|
|
|
|
|
|
|
(`boolean`) - True if the two values are equal, false otherwise.
|
|
|
|
|
|
|
|
## 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
|
|
|
|
{
|
2022-12-30 03:01:38 -05:00
|
|
|
"type": "eq",
|
2022-12-29 14:17:56 -05:00
|
|
|
"_": {
|
|
|
|
"a": "foo",
|
|
|
|
"b": "foo"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### Last Updated
|
|
|
|
|
2022-12-30 03:01:38 -05:00
|
|
|
Monday, December 30th, 2022.
|
2022-12-29 14:17:56 -05:00
|
|
|
Written by [Netkas](https://git.n64.cc/netkas)
|