---
url: /process-functions/alias-exists.md
description: Checks whether an alias exists within a dimension.
---

# alias.exists

Checks whether an alias exists within a dimension.
Returns a boolean value.

```js
alias.exists(dimension, aliasName)
```

#### Parameters

* `dimension` - The dimension within which to check if alias exists.
* `aliasName` - The identifier of the alias to be checked.

#### Example

```js
if(alias.exists("Account", "No - Name")) { 
    //do something 
}
```
