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.

is_entity()

Usage

is_entity(obj)

Description
Returns a boolean value that indicates whether the given object is a Structr entity (i.e. a node or relationship).

Example

${is_entity(me)}

results in

true

Search results for "is_entity()"

is_entity()

Returns a boolean value that indicates whether the given object is a Structr entity (i.e. a node or relationship).

is_entity(obj)