get_relation_by_type


Description:

public unowned Relation get_relation_by_type (RelationType relationship)

Finds a relation that matches the specified type.

Parameters:

this

an RelationSet

relationship

an RelationType

Returns:

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