I try to use methods in https://laravel.com/docs/9.x/helpers instead of old php functions I used for many year. I did not find any laravel method like in_array.
I tried to use Str::contains , but failed it. Seems different ?
So any replacement of in_array ?
Thanks in advance!