Function SwitchableContainer.SwitchableContainer.has

Check if object is present in SwitchableContainer!T by key identity.

inout bool has (
  in string 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 object.

Returns

bool true if decorated is enabled and has object by identity.