Zend\Validator\InArray::isValid
Returns true if and only if $value is contained in the haystack option. If the strict option is true, then the type of $value is also checked.
Signature
public function isValid(mixed
$value )
Parameters
$value
— mixed
See
Returns
- bool