Forum OpenACS Development: Response to Is there a right way to deal with booleans?

Collapse
Posted by Stephen . on
Yes, the if tag uses template::util_is_true, which is used by alot of
the rest of the template system code. It checks for the negative
conditions 0, f, false, n, no, off, and the empty string, everything
else being true.