Skip to content

Kirby 4.5.0

A::has()

Checks if array has a value

A::has(array $array, mixed $value, bool $strict = false): bool

Parameters

Name Type Default
$array * array
$value * mixed
$strict bool false

Return type

bool

Parent class

Kirby\Toolkit\A