# IsQuery()

Determines whether value is a query.

```
IsQuery( value=any );
```

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| value | any | Yes | Query variable |  |

# Examples

```cfml
    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));
```







# Categories

[Queries](../../categories/query.md), [Decision logic](../../categories/decision.md)