[jQuery] return function true or false

[jQuery] return function true or false


Just wondering if someone can assist. I need to know how to return the
value of a function, IE is it true or false, All help is much
appreciated.
Thanks