Liking cljdoc? Tell your friends :D

org.soulspace.clj.core

Functions to supplement clojure.core.

Functions to supplement clojure.core.
raw docstring

agent?clj

(agent? x)

Returns true, if 'x' is an Agent.

Returns true, if 'x' is an Agent.
sourceraw docstring

array-typeclj

(array-type cl)
(array-type cl dims)

Return a string representing the type of an array with 'dims' dimensions and an element of class type 'cl'. For primitives, use a class 'cl' like Integer/TYPE Useful for type hints of the form: ^#=(array-type String) my-str-array

Return a string representing the type of an array with 'dims'
dimensions and an element of class type 'cl'.
For primitives, use a class 'cl' like Integer/TYPE
Useful for type hints of the form: ^#=(array-type String) my-str-array
sourceraw docstring

atom?clj

(atom? x)

Returns true, if 'x' is an Atom.

Returns true, if 'x' is an Atom.
sourceraw docstring

not-nil?clj

(not-nil? x)

Tests if 'x' is not nil.

Same as (not (nil? x)) or ((complement nil?) x). If 'x' is sequable, use (seq x) instead.

Tests if 'x' is not nil.

Same as (not (nil? x)) or ((complement nil?) x).
If 'x' is sequable, use (seq x) instead.
sourceraw docstring

ref?clj

(ref? x)

Returns true, if 'x' is a Ref.

Returns true, if 'x' is a Ref.
sourceraw docstring

reftype?clj

(reftype? x)

Returns true, if 'x' is an Atom, a Ref or an Agent.

Returns true, if 'x' is an Atom, a Ref or an Agent.
sourceraw docstring

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

× close