src/Kinds/Assertions.php
public function sectionExists(string $section): bool
    {
        return (bool) trim($this->view->yieldContent($section));
    }
public function sectionExists(string $section): bool
    {
        return (bool) trim($this->view->yieldContent($section));
    }
public function sectionExists ( string $ section ) : bool { return ( bool ) trim ( $ this -> view -> yieldContent ( $ section ) ) ; }
Check if a view section exists.
Check if a view section exists .