IsQuery

Determines whether value is a query.

IsQuery( value )

Returns: Boolean

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