Random utils, global variables handling.
Random utils, global variables handling.
(deref v)
Takes a symbol and resolves it using resolve and then dereferences it.
Takes a symbol and resolves it using resolve and then dereferences it.
(deref-symbol v)
Takes a symbol and resolves it using resolve and then dereferences it. If the given value is not a symbol it is returned.
Takes a symbol and resolves it using resolve and then dereferences it. If the given value is not a symbol it is returned.
(deref-with-call v)
Tries to resolve a symbol and then dereference a Var if the symbol points to a it or if it was already a Var. If the Var points to a functions or it is a function object already then it will . For a vector it makes a new vector by applying this operation to all of its elements.
Tries to resolve a symbol and then dereference a Var if the symbol points to a it or if it was already a Var. If the Var points to a functions or it is a function object already then it will . For a vector it makes a new vector by applying this operation to all of its elements.
(resolve v)
Takes a symbol and resolves it, trying to load a namespace if a namespace-qualified symbol is provided. For vectors it applies this operation to all values and produces a new vector.
Takes a symbol and resolves it, trying to load a namespace if a namespace-qualified symbol is provided. For vectors it applies this operation to all values and produces a new vector.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close