ERROREXCEPTION INDEKS TIDAK DITERIMA (LARAVEL 7 ARRAY HANTERS)

use Illuminate\Support\Arr;

$array = ['name' => 'John Doe', 'age' => 17];

$exists = Arr::exists($array, 'name');

// true

$exists = Arr::exists($array, 'salary');

// false
Doubtful Dolphin