Skip to main content

check_relation

Checks if a subject has a given relation to an object.

check_relation(
subject: ObjectSelector!
relation: RelationTypeSelector!
object: ObjectSelector!
): CheckRelationResult!

Arguments

subject (ObjectSelector!)

[Required] The subject of the relation.

relation (RelationTypeSelector!)

[Required] The relation type.

object (ObjectSelector!)

[Required] The object of the relation.

Type

CheckRelationResult

Result of the check_relation query.