ez.no / ezpublish / documentation / the template language / variable types / booleans
These documentation pages are no longer maintained. Please visit the new documentation site.
Booleans are binary, they are either true or false. A boolean must be created using either the true() or the false() operator. Example:
{true()} {false()}
For some operators and functions, it is possible to use integers as booleans. However, these are not "real" booleans. Zero means false; all non-zero values mean true. Some operators support arrays. An empty array means false.
Comments