src/Kinds/Assertions.php
public function isAdmin(): bool
    {
        return str_contains($this->url->current(), $this->request->root() . '/' . $this->config->get('helpers.paths.admin'));
    }
public function isAdmin(): bool
    {
        return str_contains($this->url->current(), $this->request->root() . '/' . $this->config->get('helpers.paths.admin'));
    }
public function isAdmin ( ) : bool { return str_contains ( $ this -> url -> current ( ) , $ this -> request -> root ( ) . '/' . $ this -> config -> get ( 'helpers.paths.admin' ) ) ; }
Return true if current page is an admin page.
Return true if current page is an admin page .