This is asking if the function exists
No no, this is calling the function and testing the boolean it returns. What your code does is to transform the boolean into another boolean of the same value.
Following your point of view, we could as well write
if (((Function() == true) == true) == true)
{
...
}
I meant if you wrote this it checks if it exists:
if(Collision::BoundingBoxTest){}
Without a value isn't the same thing as
if(true){}
but it also means
if(false){}
Meaning there is no difference in the choice execution of the code?
I use this in javascript all the time and it works:
if(Collision::BoundingBoxTest(Object, Bar)==true){}
Are you sure you don't mean this sets the value?
if(Collision::BoundingBoxTest(Object, Bar)=true){}