Liking cljdoc? Tell your friends :D

typed.cljc.checker.check.def


add-checks-normal-defclj

(add-checks-normal-def expr expected)

Add runtime checks to a def with an initial value.

Add runtime checks to a def with an initial value.
raw docstring

check-defclj

(check-def {:keys [var init env] :as expr} expected)

Check a def. If it is a declare or a defmacro, don't try and check it.

Check a def. If it is a declare or a defmacro, don't try and check it.
raw docstring

check-defmacro-or-declareclj

(check-defmacro-or-declare expr expected)

To check a defmacro or declare, just assign it the most general Var type and ignore the body.

To check a defmacro or declare, just assign it the most general
Var type and ignore the body.
raw docstring

check-normal-defclj

(check-normal-def {:keys [meta init env] :as expr} & [expected])

Checks a def that isn't a macro definition.

Checks a def that isn't a macro definition.
raw docstring

defmacro-or-declare?clj

(defmacro-or-declare? {:keys [var] :as expr})

Returns true if this :def AST was originally a defmacro or declare.

Returns true if this :def AST was originally a defmacro or declare.
raw docstring

init-provided?clj

(init-provided? expr)

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

× close