RelationSet.getRelationByType

Finds a relation that matches the specified type.

class RelationSet
getRelationByType

Parameters

relationship atk.types.RelationType

an #AtkRelationType

Return Value

Type: atk.relation.Relation

an #AtkRelation, which is a relation matching the specified type.