Symbol info lookup.
It's meant to provide you with useful data like definition location, parameter lists, etc.
NOTE: The functionality here is experimental and the API is subject to changes.
Symbol info lookup. It's meant to provide you with useful data like definition location, parameter lists, etc. NOTE: The functionality here is experimental and the API is subject to changes.
(lookup ns sym)
Lookup the metadata for sym
.
If the sym
is not qualified than it will be resolved in the context
of ns
.
Lookup the metadata for `sym`. If the `sym` is not qualified than it will be resolved in the context of `ns`.
(qualified-symbol? x)
Return true if x
is a symbol with a namespace.
This is only available from Clojure 1.9 so we backport it until we drop support for Clojure 1.8.
Return true if `x` is a symbol with a namespace. This is only available from Clojure 1.9 so we backport it until we drop support for Clojure 1.8.
(qualify-sym ns sym)
Qualify a symbol, if any in sym
, with ns
.
Return nil if sym
is nil, attempting to generate a valid symbol even
in case some ns
is missing.
Qualify a symbol, if any in `sym`, with `ns`. Return nil if `sym` is nil, attempting to generate a valid symbol even in case some `ns` is missing.
A list of var metadata attributes are safe to return to the clients. We need to guard ourselves against EDN data that's not encodeable/decodable with bencode. We also optimize the response payloads by not returning redundant metadata.
A list of var metadata attributes are safe to return to the clients. We need to guard ourselves against EDN data that's not encodeable/decodable with bencode. We also optimize the response payloads by not returning redundant metadata.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close