type relationship with an object target, false otherwise
RelationSet.containsTarget
bool containsTarget(atk.types.RelationType relationship, atk.object.ObjectWrap target)Determines whether the relation set contains a relation that matches the specified pair formed by type relationship and object target.
Parameters
relationship | an #AtkRelationType |
target | an #AtkObject |
Returns
true if set contains a relation with the relationship