(compare-templates x y)
(path-matcher template)
Return a matcher function that given a uri path, if the uri matches
template
, returns a map of :template and :parameters for the
uri. Matcher returns nil
if uri does not match.
Return a matcher function that given a uri path, if the uri matches `template`, returns a map of :template and :parameters for the uri. Matcher returns `nil` if uri does not match.
(paths-matcher templates)
Return a matcher given a collection of templates
.
When matchers is given a uri, for the most specific template
matching uri, return a map of :template and :parameters. Returns
nil
when no template matches.
Return a matcher given a collection of `templates`. When matchers is given a uri, for the most specific template matching uri, return a map of :template and :parameters. Returns `nil` when no template matches.
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 |