V::in()
Checks if the value exists in a list of given values
V::in(mixed $value, array $in, bool $strict = false): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $valuerequired | mixed |
no default value |
| $inrequired | array |
no default value |
| $strict | bool |
false
|
Return type
bool