$fieldMethods->bool()
Alias for Kirby\Content\FieldMethods::toBool()
$fieldMethods->bool(bool $default = false): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $default | bool |
false
|
Return type
bool
Parent class
Kirby\Content\FieldMethods