$child): ?> spouseFamilies()->map(static function (Family $family): Collection { return $family->children(); })->flatten() ?>
1 && $grandchildren->isNotEmpty()): ?> $grandchildren, 'generations' => $generations - 1]) ?>
$child]) ?>
count() === 1): ?>
count()): ?>
count() > 0): ?>