[Documentation](../../README.md) > [SortEnum](README.md) > **containsKey**

# Nelexa\GPlay\Enum\SortEnum::containsKey
`Nelexa\GPlay\Enum\SortEnum::containsKey` — Checks whether the constant name is present in the enum.

## Description
```php
Nelexa\GPlay\Enum\SortEnum::containsKey ( string $name ) : bool
```

## Parameters
* **$name** (string)  
Constant name.

## Return Values
Returns true if the name is defined in one of the constants.

[Documentation](../../README.md) > [SortEnum](README.md) > **containsKey**
