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
You can simply use
if(queryThis('foo')) { doThat(); } function queryThis(parameter) { // some code return true; }