The If statement condition is false but the if statement stills executes

so i wrote this if statement

and it checks these conditions so it executes my Jump(); Function so if you look at the Debug.Log();
it should never return false since it is the same condition in the if statement
yet i get in my console : " if result: false"

103689-screen-shot-2017-10-14-at-54631-am.png

what is this sorcery PLEASE HELP ME!!

You probably is doing something inside the Jump() method that changes the statement result. You should move the debug line to before the Jump() method call.