SwitchableContainer.has

Check if object is present in SwitchableContainer!T by key 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.

class SwitchableContainer
inout
bool
has
(
in string identity
)

Parameters

identity string

identity of object.

Return Value

Type: bool

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

Meta