V::required()
Checks if the value is present in the given array
V::required($key, array $array): bool
Parameters
Name | Type | Default | Description |
---|---|---|---|
$key |
mixed |
|
|
$array |
array |
|
Return type
bool
Checks if the value is present in the given array
V::required($key, array $array): bool
Name | Type | Default | Description |
---|---|---|---|
$key |
mixed |
|
|
$array |
array |
|
bool