---
title: "admProjectExists"
canonical: "https://support.appfire.com/space/PSJC/522486219/admProjectExists"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Returns true if the project exists.

Returns 'true' if project with provided key exists and 'false' otherwise.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admProjectExists(project_key) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | projectExists(project_key) |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| project_key | string | Yes | The project key. The value must be unique. |

## Return Type

**Boolean**

Returns 'true' if project exists and 'false' otherwise.

## Examples

```javascript
boolean prjExist = admProjectExists("TEST");
```

```javascript
use "adm";
boolean pexists = projectExists("CX1");
```

## See also

> Macro (contentbylabel)