Checks if the element map with the specified identifier contains the specified element associated with the specified key.
This function returns the same result as the expression:
However, it will work much faster.checkElementsByKey ( elementMapId, key, BooleanQuery (element.id == contextElement.id) )
Parameters:
elementMapId
The element map identifierNote: When the element map with such an identifier does not exist, the generator raises an error.
key
The hash key, by which the element must be found in the map.
element
The element to look for.When this parameter is
null
, the functions returnsfalse
.Note: The element is identified by its unique identifier (see
GOMElement.id
).
Returns:
true
, if the specified element has been found by specified key in the map;false
otherwise.
See Also:
findElementByKey, putElementByKey(), removeElementByKey()