check if role is set to certain role ids

how do i check if the role is set to certain ids?
                const role = interaction.options.getRole('role').id;
role !== '1214610538382884959' || '1171216386618572840' || '1171216297661567000'

it still runs the following code in the if statement (the second line is only conditions) even though the role is equal to one in the list
i have verified const role is correct and prints the correct id
Was this page helpful?