Determines whether a value is a query.

isQuery(value) → returns boolean

Argument Reference for the isQuery function


Required: Yes

Examples sample code invoking the isQuery function

Create and populate a query and output the 'name' column as a list if it is a valid query

names = queryNew( 'name','varchar' );
queryAddRow( names );
querySetCell( names,'name','Seth' );
queryAddRow( names );
querySetCell( names,'name','Jen' );
if( isQuery( names ) ) {
   writeOutput( valueList( ) );

Fork me on GitHub