MongooseWhere programmers kick back and build silly things together.

All help topics · Link to this topic

Showing help on 'truth'

Several kinds of statements, expressions, and functions in the MOO programming language use a notion that some MOO values are 'true' and others 'false'.

The only values that are considered true are non-zero numbers, non-empty strings, and non-empty lists.

All other values (i.e., 0, "", {}, objects, and errors) are considered false.