You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

has_relationship()

Usage

has_relationship(node1, node2, relType)
has_relationship(node1, node2)

Description
Returns a boolean value indicating whether at least one relationship exists between the given nodes, with an optional qualifying relationship type. See also incoming() and outgoing().

Example

${has_relationship(me, page, 'OWNS')}

results in

false

Search results for "has_relationship()"

has_relationship()

Returns a boolean value indicating whether at least one relationship exists between the given nodes, with an optional qualifying relationship type. See also incoming() and outgoing().

has_relationship(node1, node2 [, relType ])