Check if user a role id from array
Hey there, so what I am trying to do is have an array:
And I am trying to check if a user has at least one of these roles on their profile. I have
And I am trying to check if a user has at least one of these roles on their profile. I have
if(!allowed.includes()), but I don't know where to go from there. If anyone can help, that would be great, thanks!