input|null()
This operator returns TRUE if the input value is NULL, otherwise FALSE will be returned. Please note that NULL is not the same as a numeric zero (0).
{if 0|null()} The truth is out there. {else} The day the earth stood still. {/if}
The following output will be produced: "The day the earth stood still".
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.