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
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.
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
Returns a boolean value that indicates whether the given object is a Structr entity (i.e. a node or relationship).
is_entity(obj)