IsQuery()

Determines whether value is a query.

IsQuery( value=any );

Returns: Boolean

Argument Description
value
any, required

Query variable

Examples

testVar = "Hello World";
    // Returns false as it is not a query.
    dump(IsQuery(testVar));
<span class="nv">testQuery</span> <span class="o">=</span> <span class="nf">QueryNew</span><span class="p">(</span><span class="s1">&#39;col1&#39;</span><span class="p">);</span>
<span class="c">// Returns true as it is a query.</span>
<span class="nf">dump</span><span class="p">(</span><span class="nf">IsQuery</span><span class="p">(</span><span class="nv">testQuery</span><span class="p">));</span>

See also