:fire: rewrite to be more clear and allow function reuse
:fire: rewrite to be more clear and allow function reuse

- Rewrote the code a bit and broke test/assign concerns in to separate functions to allow reuse.
- added note about why we need the jshint expception

mariusc23/express-query-boolean