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
(
AtkRelationType relationship
,)

Parameters

relationship AtkRelationType

an #AtkRelationType

target ObjectAtk

an #AtkObject

Return Value

Type: bool

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

Meta