How to do and "inArray" with a dinamic array?

I did this on the code and is working well, the things is that it throws and error and idk how to fix it
image.png
Was this page helpful?