BookStack\Page::hasChapter PHP Method

hasChapter() public method

Check if this page has a chapter.
public hasChapter ( ) : boolean
return boolean
    public function hasChapter()
    {
        return $this->chapter()->count() > 0;
    }