RelationSet.containsTarget

Determines whether the relation set contains a relation that matches the specified pair formed by type relationship and object target.

class RelationSet
bool
containsTarget

Parameters

relationship AtkRelationType
target ObjectAtk

Return Value

Type: bool

TRUE if set contains a relation with the relationship type relationship with an object target, FALSE otherwise