> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/app/clearallvar.md).

# clearAllVar

## Description

Removes all global variables data in the app excluding the variables specified.

### Platform Supported

* Web
* Mobile

## Input / Parameter

| Name   | Description                                 | Input Type | Default | Options | Required |
| ------ | ------------------------------------------- | ---------- | ------- | ------- | -------- |
| except | The variable(s) that should not be cleared. | Text/List  | -       | -       | No       |

## Output

| Description           | Output Type |
| --------------------- | ----------- |
| Always return 'true'. | Boolean     |

Note: The global variables will be updated to remove all of them.
