# expressionContainsAstNodeType

Canonical page: https://www.adaptabletools.com/docs/reference/expressioncontainsastnodetype

True when the expression AST contains a node of the given type (e.g. `CUMULATIVE`, `QUANT`).

```ts title="TypeScript"
expressionContainsAstNodeType: (expression: string | undefined | null, nodeType: string) => boolean
```
