Skip to content

Kirby 4.5.0

required

Checks if the value is present

V::required($value, $array = null): bool

Parameters

Name Type Default
$value * mixed
$array mixed null

Return type

bool