mg_path_relationship_reversed_at

Checks if the relationship at position pos in traversal of path path is reversed.

Relationships are indexed from 0 to path length - 1.

Return: Returns 0 if relationships is traversed in the same direction as the underlying relationship in the data graph, and 1 if it is traversed in the opposite direction. If pos is outside of path bounds, -1 is returned.

extern (C)
int
mg_path_relationship_reversed_at
(
const mg_path* path
,
uint pos
)

Meta