$page->isParentOf($child)

Checks if the page is the parent of the given page

  • $child (Page | string)
    A page URI or page object.
  • return (boolean)

Is something missing or incorrect? Edit this page on Github…