codeparty/derby — pull request #191 by switz (2012-12-28 18:17:37+00:00)
Title: Added 'or' + 'and' functions to view

This adds two functions to views.

* or
* and

Both could be rewritten using the boolean operator as:

return Boolean (a || b)

However, I prefer the double bang. I didn't see anywhere in the mocha specs that directly test the functionality of the `equal` function, but if you'd like me to add specific tests please let me know.

Perhaps in the future these could be extended to allow an unlimited number of parameters.