a == b
(Redirected from ==)Jump to navigation Jump to search
- Check if a is equal to b. String comparison is case-insensitive - use isEqualTo if case sensitivity is needed.
- a == b
Introduced in 1.00 1.00 1.08 2.00 Possible Type Number Side String Object Group Structured Text Config Display Control Location Diary Record Namespace Boolean
- b: identical to a's type
- Return Value:
- Example 1:
- Example 2:
- "MyRabbit" == "MYRABBIT"; // returns true
- Example 3:
- Posted on Apr 15, 2014 - 10:13 (UTC)
For script comparison we need to detect whether scripts are running in advance, then compose both into string:
isEqualTo for all types comparison, which is more functional and as fast as operator.
For multiple comparisons:
And we can use such workaround instead of using BIS_fnc_arrayCompare or BIS_fnc_areEqual