Function Locator.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.

Parameters

NameDescription
identity identity of element.

Returns

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