Whether a page is mounted, for layouts deciding what to link to.
Whether a page is mounted, for layouts deciding what to link to.
Predicate on a path: is it a route of its own in the router serving the
request being handled. Bound around handler execution, the way
csrf/*token* is. Outside a request nothing can be asked, so every path
counts as mounted.
Predicate on a path: is it a route of its own in the router serving the request being handled. Bound around handler execution, the way `csrf/*token*` is. Outside a request nothing can be asked, so every path counts as mounted.
(mounted? path)Whether path is mounted, per *mounted?*.
Whether `path` is mounted, per `*mounted?*`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |