Is there any better way of doing this?
if(borrar() !== false) { alert(\'tatatata bum bum bum prapra\'); } return false;
If you want an explicit check against false (and not undefined, null and others which I assume as you are using !== instead of !=) then yes, you have to use that.
Also, this is the same in a slightly smaller footprint:
if(borrar() !== !1)