isObject.php
Table of Contents
Functions
- isObject() : string
- Builds an AQL expression that checks whether a value is an object/document.
Functions
isObject()
Builds an AQL expression that checks whether a value is an object/document.
isObject(string $value) : string
This helper wraps the ArangoDB AQL function IS_OBJECT(), which returns
true if the provided value is an object (e.g., a document in AQL), and false otherwise.
Example AQL output:
IS_OBJECT(doc.user)
Parameters
- $value : string
-
The AQL field or expression to check (e.g.,
'doc.user').
Tags
Return values
string —The formatted AQL expression (e.g., 'IS_OBJECT(doc.user)').