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

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | blogExists(blogId) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Verifies whether a given blog is a registered Confluence blog.

Verifies whether a given blog is a registered Confluence blog.

## Return Type

**Boolean (true/false)**

A "true" return value means the blog is a registered Confluence blog.

## Example

```javascript
boolean exists = blogExists(11801);
print("Return " + exists);
```

Print Return true

## See also

> Macro (contentbylabel)