How to check if a member has a role with the role id?

instead of the role name
node 18.16.0
Was this page helpful?