Classification
OTL Syntax
BooleanTerm = MapContainsKey(MapTerm, Term)
Description
MapContainsKey is a term, which returns true as a result, if the specified key in the map is found, false otherwise.
|
|
|
Important: Please keep in mind that this TermActivity in the form of an activity exists and no text can be entered. According to the respective ActionNode can further properties are added.
|
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 |
Return true if the key is found, otherwise false.
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
MapTerm |
Map |
Term |
- |
[1] |
Map, in which the key will be searched
|
Key |
- |
Term |
- |
[1] |
Expression, which is locate in the map. Is the type corresponding to the type of the key of the map.
|
OTL Examples
Map<Integer, String> map = {{1:"text1"}, {2:"text2"}};
Boolean result;
result = MapContainsKey(map, 1);
//Returns result = true
See also
MapContainsValue
MapGetSize
MapGetKeyList
MapGetValueList
MapCopy