Acknowledged

RFC: Sugar for has, instanceof

Currently we have

foo has :update

While this is nice, negating the thing is !(foo has :update) or foo has :update === false

Could we get some sugar and make has an object method: foo.has(:update), this would make it easy to write

if (foo.has(:update)) { } or if (!foo.has(:update)) { }

 

If this cannot be has, I'm also ok with the use of can

Perhaps we can also have this for instanceof?