Liking cljdoc? Tell your friends :D

orchard.misc


add-ns-macrosclj

(add-ns-macros sym)

Append $macros to the input symbol

Append $macros to the input symbol
sourceraw docstring

archive?clj

(archive? f)
source

as-symclj

(as-sym x)
source

boot-fake-classpathclj

(boot-fake-classpath)

Retrieve Boot's fake classpath. When using Boot, fake.class.path contains the original directories with source files, which makes it way more useful than the real classpath. See https://github.com/boot-clj/boot/issues/249 for details.

Retrieve Boot's fake classpath.
When using Boot, fake.class.path contains the original directories with source
files, which makes it way more useful than the real classpath.
See https://github.com/boot-clj/boot/issues/249 for details.
sourceraw docstring

boot-project?clj

(boot-project?)

Check whether we're dealing with a Boot project. We figure this by checking for the presence of Boot's fake classpath.

Check whether we're dealing with a Boot project.
We figure this by checking for the presence of Boot's fake classpath.
sourceraw docstring

call-when-resolvedclj

(call-when-resolved var-sym)

Return a fn that calls the fn resolved through var-sym with the arguments passed to it. var-sym will be required and resolved once. If requiring failed or the var-sym can't be resolved the function always returns nil.

Return a fn that calls the fn resolved through `var-sym` with the
arguments passed to it. `var-sym` will be required and resolved
once. If requiring failed or the `var-sym` can't be resolved the
function always returns nil.
sourceraw docstring

clj-file?clj

(clj-file? f)
source

deep-mergeclj

(deep-merge & xs)

Merge maps recursively. When vals are not maps, last value wins.

Merge maps recursively. When vals are not maps, last value wins.
sourceraw docstring

directory?clj

(directory? f)

Whether the argument is a directory or an url that points to a directory

Whether the argument is a directory or an url that points to a directory
sourceraw docstring

file-ext?clj

(file-ext? f & exts)

Whether the argument's path ends in one of the specified case-insensitive file extensions

Whether the argument's path ends in one of the specified case-insensitive
file extensions
sourceraw docstring

jar-file?clj

(jar-file? f)
source

java-api-versionclj

source

java-file?clj

(java-file? f)
source

lazy-seq?clj

(lazy-seq? x)

Return true if x is a lazy seq, otherwise false.

Return true if `x` is a lazy seq, otherwise false.
sourceraw docstring

name-symclj

(name-sym sym)

Return the name of a fully qualified symbol if possible, as a symbol.

It leaves the symbol untouched if not.

Return the name of a fully qualified symbol if possible, as a symbol.

It leaves the symbol untouched if not.
sourceraw docstring

namespace-symclj

(namespace-sym sym)

Return the namespace of a fully qualified symbol if possible, as a symbol.

It leaves the symbol untouched if not.

Return the namespace of a fully qualified symbol if possible, as a symbol.

It leaves the symbol untouched if not.
sourceraw docstring

normalize-subclassclj

(normalize-subclass s)
source

ns-obj?clj

(ns-obj? ns)

Return true if n is a namespace object

Return true if n is a namespace object
sourceraw docstring

os-windows?clj

(os-windows?)
source

parse-java-versionclj

(parse-java-version java-ver)

Parse a Java version string according to JEP 223 and return the appropriate version.

Parse a Java version string according to JEP 223 and return the appropriate
version.
sourceraw docstring

remove-macrosclj

(remove-macros sym)

Remove $macros from the input symbol

Remove $macros from the input symbol
sourceraw docstring

remove-type-paramclj

(remove-type-param s)
source

require-and-resolveclj

(require-and-resolve sym)

Try to require the namespace and get a var for the symbol, return the var's value if successful, nil if not.

Try to require the namespace and get a var for the symbol, return the var's
value if successful, nil if not.
sourceraw docstring

safe-countclj

(safe-count x)

Call clojure.core/count on x if it is a collection, but not a lazy seq.

Call `clojure.core/count` on `x` if it is a collection, but not a lazy seq.
sourceraw docstring

update-keysclj

(update-keys f m)

Update the keys of map m via the function f.

Update the keys of map `m` via the function `f`.
sourceraw docstring

update-valsclj

(update-vals f m)

Update the values of map m via the function f.

Update the values of map `m` via the function `f`.
sourceraw docstring

url?clj

(url? u)

Check whether the argument is an url

Check whether the argument is an url
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close