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

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

## Description
```php
Nelexa\GPlay\Enum\AgeEnum::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) > [AgeEnum](README.md) > **containsValue**
