I am reading "Discover Meteor" at the moment, In chapter 7 is has code:
Posts.allow({
insert: function(userId, doc) {
// only allow posting if you are logged in
return !! userId; ///// <<==== what does "!!" means?
}
});
Thanks