IsQuery

Determines whether value is a query.

Returns: boolean

Usage

IsQuery( value )

Arguments

Argument Description
value
(any, required)

Query variable

Examples

testVar = "Hello World";
    // Returns false as it is not a query.
    dump(IsQuery(testVar));

    testQuery = QueryNew('col1');
    // Returns true as it is a query.
    dump(IsQuery(testQuery));

See also