(defalias name src)(defalias name doc src)Define a var as an alias for another var, copying :arglists from the source.
Usage: (defalias my-fn "Optional docstring." other-ns/fn)
Copies :arglists metadata from the source var so that (doc my-fn) shows the correct argument list in the REPL. The docstring on the alias, if provided, overrides the source's docstring.
Define a var as an alias for another var, copying :arglists from the source. Usage: (defalias my-fn "Optional docstring." other-ns/fn) Copies :arglists metadata from the source var so that (doc my-fn) shows the correct argument list in the REPL. The docstring on the alias, if provided, overrides the source's docstring.
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 |