Functions to supplement clojure.core.
Functions to supplement clojure.core.
(agent? x)
Returns true, if 'x' is an Agent.
Returns true, if 'x' is an Agent.
(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
(atom? x)
Returns true, if 'x' is an Atom.
Returns true, if 'x' is an Atom.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close