RelationSet.getRelationByType

atk.relation.Relation getRelationByType(atk.types.RelationType relationship)

Finds a relation that matches the specified type.

Parameters

relationshipan #AtkRelationType

Returns

an #AtkRelation, which is a relation matching the

specified type.