
The Function Block EQ is true if both inputs are equal.
Tip: To check whether a value equals NULL, use the Function Block IS_NULL.
The inputs can contain any data type.
The output is true if both inputs are identical.
Note: Note that the data types are not considered. For example, the boolean value TRUE equals the number 1 and equals the string "1".
| First Input | Second Input | Output |
|---|---|---|
| 0 | "a" | TRUE |
| "1" | "01" | TRUE |
| "10" | "1e1" | TRUE |
| 100 | "1e2" | TRUE |
| 1.0 | 1 | TRUE |
| NULL | FALSE | TRUE |