Skip to content

Kirby 4.4.1

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