Extensions.Util.Compare
Jump to navigation
Jump to search
Contents
Classification
Name | Compare |
Short Description | Tests for equality of two or more Terms |
Class | Term |
Extension | OTX Util extension |
Group | Util related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
BooleanTerm Util.Compare({Term[ ] term});
Description
The OTX Compare term checks the content and not the reference of ByteField, List and Map. List and Map are checked recursively. For all other data type comparisons, the same behavior as used by the otx:IsEqual term is used, unless specified otherwise at the definition of the data type. In case of structure the util:Compare term checks all values deeply.
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Boolean | The result of the comparision. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Term | - | Term | - | [2..*] | Represents a otx:Term which shall be compared. |
OTL Examples
/// Local Declarations
Boolean Boolean1 = false;
/// Flow
Boolean1 = Util.Compare({{&11, &22, &33}, {&10, &22, &33}});
See also
CopyByteField
GetRandomNumber
IsInitialized
ListIndexOf
ListIndexOfAny
ListReverse
ListSort
Max
Min
StringFormat