# exists

```yaml
title: Check if icon exists in icon set
types:
  IconSet: './index.md'
functions:
  export: './export.md'
```

# exists()

This function is part of `[type]IconSet` class in [Iconify Tools](../index.md).

Function `[func]exists()` checks if icon is in icon set, returns `[type]boolean` value.

## Usage

Function has the parameter:

- `[prop]name`, `[type]string`. Icon name.