TypeBasedContainer.has

Check if an object is present in TypeBasedContainer by identity.

Check if an object is present in TypeBasedContainer by identity. If no object is available in decorated container, a candidate is searched through list of candidates, and if found, true is returned.

class TypeBasedContainer
inout
bool
has
(
in string identity
)

Parameters

identity string

identity of object.

Return Value

Type: bool

bool true if an object by identity is present in TypeBasedContainer.

Meta