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:

checkElementsByKey (
   elementMapId,
   key,
   BooleanQuery (element.id == contextElement.id)
)
However, it will work much faster.

Parameters:

elementMapId

The element map identifier

Note: When the element map with such an identifier does not exist, the generator shows an error message.

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 returns false.

Returns:

true, if the specified element has been found by specified key in the map; false otherwise.

See Also:

checkElementsByKey()