Classification
Pseudo-Code Syntax
Value = MapContainsValue(MapTerm, value)
Description
MapContainsValue is a term, which returns true as a result, if the value specified 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 value is found, otherwise false.
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
MapTerm |
Map |
Term |
- |
[1] |
Map, in which the key will be searched
|
Value |
- |
Term |
- |
[1] |
Expression, which is locate in the map. Is the type corresponding to the type of the values of the map.
|
Examples
Map<Integer, String> map = {{1, "text1"}, {2, "text2"}}
Boolean result = MapContainsValue(map, "text1")
//Returns result = true
See also
MapContainsKey
MapGetSize
MapGetKeyList
MapGetValueList
MapCopy