RelationSet.getRelationByType

Finds a relation that matches the specified type.

class RelationSet
getRelationByType

Parameters

relationship AtkRelationType

an #AtkRelationType

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

Meta