array_key_exists()
function array_key_exists(string $key, array $array): bool
Checks if the given key or index exists in the array.
Parameters:
$key(string)$array(array)
Returns: bool
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how array_key_exists is implemented in the compiler, see the internals page.