(create-root-var name value)
(create-root-var ns name value)
Given a name and a value, intern a var in the current namespace, taking metadata from the value.
Given a name and a value, intern a var in the current namespace, taking metadata from the value.
(resource-file-url path)
(slurp-from-classpath path)
Slurps a file from the classpath.
Slurps a file from the classpath.
(str-non-nil & args)
Exactly like clojure.core/str
, except it returns an empty string
with no args (whereas str
would return nil
).
Exactly like `clojure.core/str`, except it returns an empty string with no args (whereas `str` would return `nil`).
(underscores-to-dashes string)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close