Liking cljdoc? Tell your friends :D
All platforms.

routes.extra

Extra wrappers and customizers for Routes and Pattern structures.

Extra wrappers and customizers for Routes and Pattern structures.
raw docstring

parameterizeclj/s

(parameterize pattern key value)

Wrap pattern in a ParameterizedPattern record, which implements the Pattern protocol (match-pattern and generate-pattern-path), so that the pattern only matches if the route context (m) contains the given {key value} pair

Wrap `pattern` in a ParameterizedPattern record,
which implements the Pattern protocol (match-pattern and generate-pattern-path),
so that the `pattern` only matches if the route context (m)
contains the given {key value} pair
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close