if(!something) doesn't work in Boo, why?

When I want to check if something is true or false in an if() statement in JavaScript I just go if(something) or if(!something).

if(!something) doesn't work in Boo apparently, it gives this error: Assets/Code/Boo Creation.boo(9,12): BCE0044: unexpected char: '!'.

What is the proper way to do this in Boo? Thank you.

http://boo.codehaus.org/Part+03+-+Flow+Control+-+Conditionals

Would it be if(something != true)??

Not much documentation on the Boo language...

Also, http://boo.codehaus.org/BooManifesto.pdf

Check page 8, their's an example saying: if not __

That might help as well, good luck!

I'm kind of surprised that no one has really answered this yet...

if not something:
   DoSomething()

I should also add that although there isn't all that much documentation for Boo itself, this shouldn't prove to be too much of a barrier: Boo is a CLI language with Python inspired syntax. Thus, boo behaves like C#, and shares the same API (if with different keywords), while it's syntax is practically identical to Python. If you're interested in using Boo, first learn python (an awesome language in and of itself), and then go to boo.codehaus.org to get up to speed on the (few) syntactic differences with python.

The only real impediment with learning boo is the syntax, as mechanically, it's practically identical to C# and UnityScript.

From:http://boo.codehaus.org/Part+06+-+Operators

Logical Not "not a" Only use when a is a boolean value

Never used boo, just googled your question and found it in about 30 seconds. Just wondering, does it work?

if not something:
    doStuff()