Liking cljdoc? Tell your friends :D

mescal.util


assert-definedcljmacro

(assert-defined & syms)

Ensures that zero or more symbols are defined.

Ensures that zero or more symbols are defined.
sourceraw docstring

decode-jsonclj

(decode-json source)

Parses a JSON stream or string.

Parses a JSON stream or string.
sourceraw docstring

encode-pathclj

(encode-path root-dir file-path)

Encodes a file path for use in a URL.

Encodes a file path for use in a URL.
sourceraw docstring

find-valueclj

(find-value m ks)

Finds the value associated with a key in a map. The first non-nil value associated with one of the given keys is returned. With the current implementation, the keys provided must be keywords.

Finds the value associated with a key in a map. The first non-nil value associated with one
of the given keys is returned. With the current implementation, the keys provided must be
keywords.
sourceraw docstring

get-booleanclj

(get-boolean value default)
source

get-enum-valuesclj

(get-enum-values value-obj)
source

to-millisclj

(to-millis timestamp)

Converts a formatted timestamp to milliseconds since the epoch.

Converts a formatted timestamp to milliseconds since the epoch.
sourceraw docstring

to-utcclj

(to-utc timestamp)

Converts a formatted timestamp to UTC.

Converts a formatted timestamp to UTC.
sourceraw docstring

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

× close