Skip to content

Kirby 6.0.0

$field->isTrue()

Checks if the field value is truthy

$field->isTrue(): bool

Return type

bool

Parent class

Kirby\Content\Field