Skip to content

Kirby 4.2.0

$haschildren->hasChildren()

Checks if the model has any published children

$haschildren->hasChildren(): bool

Return type

bool

Parent class

Kirby\Cms\HasChildren