$field->isFalse()
Converts the field value into a proper boolean and inverts it
-
return (boolean)
Example
<?php if(!$page->hasHeader()->isFalse()): ?>
<header>
...
</header>
<?php endif ?>
Converts the field value into a proper boolean and inverts it
<?php if(!$page->hasHeader()->isFalse()): ?>
<header>
...
</header>
<?php endif ?>