Function TypeBasedContainer.has

Check if an object is present in TypeBasedContainer by identity.

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

Parameters

NameDescription
identity identity of object.

Returns

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