RelationSet.getRelationByType

Finds a relation that matches the specified type.

class RelationSet
getRelationByType
(
AtkRelationType relationship
)

Parameters

relationship AtkRelationType

an #AtkRelationType

Return Value

Type: Relation

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

Meta