v13 <map>#hasAny() Not returning valid results

I've found the issue. It's not listed in the documentation but the arrays passed through the method must be passed in spread syntax. Fixed example is listed below:

const adminRoles = ['600912549570936833'];
const moderatorRoles = ['659905403458682937'];

const member = await guild.members.cache.get(id);
if(!member) return;
return{
    admin: !!member.roles.cache.hasAny(...adminRoles),
    moderator: !!member.roles.cache.hasAny(...moderatorRoles)
}