sq_objtobool

Squirrel 3.0

sq_objtobool

SQBool sq_objtobool(HSQOBJECT * po);

return the bool value of a raw object reference.

parameters:
HSQOBJECT * po

pointer to an object handler

remarks:

If the object is not a bool will always return false.