---
title: "groupExists"
canonical: "https://support.appfire.com/space/PSCONF/15304567/groupExists"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | groupExists(group) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Verifies if the selected group is a registered Confluence group.

Verifies if the selected group is a registered Confluence group.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | group | String | Yes | Group that should be checked for existence. |

## Return Type

**Boolean (true/false)**

Returns true if the specified group exists.

## Example

```javascript
return groupExists("confluence-users")
```

Returns true if group "confluence-users" exists.

## See also

> Macro (contentbylabel)