Function AggregateLocatorImpl.has

Check if an element is present in Locator by key id.

inout bool has (
  in KeyType identity
);

Note

This check should be done for elements that locator actually contains, and not in chained locator (when locator is also a DelegatingLocator) for example.

Parameters

NameDescription
identity identity of element.

Returns

bool true if an element by key is present in Locator.