Here's something simple to check if the user is in a moderator. But I want to check if the user is a moderator.
if err && user in moderators return
Intuitively, it will be like this:
if err && user isnt in moderators return
But obviously this will not work. What is the best way to do this?
coffeescript
Harry Jun 29 '13 at 0:03 2013-06-29 00:03
source share