# existsCatalog {#existsCatalog}

## Syntax {#Syntax .section}

`existsCatalog(catalog)`

## Arguments {#Arguments .section}

**catalog**is a string specifying the catalog name.

## Details {#Details .section}

Check whether the specified catalog exists.

**Return value**: A Boolean scalar.

## Examples {#Examples .section}

``` {#codeblock_pvr_4cb_pbc}
use CATALOG cat1;
existsCatalog("cat1") // Output: true
existsCatalog("cat2") // Output: false
```

**Parent topic:**[Functions](../../Functions/category.md)

