RelationSet.getRelationByType

Finds a relation that matches the specified type.

class RelationSet
getRelationByType

Parameters

relationship AtkRelationType

Return Value

Type: Relation

an atk.Relation, which is a relation matching the specified type.