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

# Nelexa\GPlay\Enum\SortEnum::containsValue
`Nelexa\GPlay\Enum\SortEnum::containsValue` — Checks if enum contains a passed value.

## Description
```php
Nelexa\GPlay\Enum\SortEnum::containsValue ( string | int | float | bool | array | null $value [, bool $strict = true ] ) : bool
```

## Parameters
* **$value** (string | int | float | bool | array | null)  
Checked value.
* **$strict** (bool)  
Strict check.

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

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