Hopefully a quick question here.
Can you use a function\'s returned value in a if statement? I.e.
function queryThis(request) { return false; } if(q
In sort, yes you can. If you know it is going to return a boolean you can even make it a bit simpler:
if ( isBar("foo") ) { doSomething(); }