Host Interop
(defrecord name [fields*] options* specs*) Currently there are no options. Each spec consists of a protocol or interf...
macrocljs.core
(deftype name [fields*] options* specs*) Currently there are no options. Each spec consists of a protocol or interfac...
macrocljs.core
Useful when you want to provide several implementations of the same protocol all at once. Takes a single protocol and th...
macrocljs.core
Extend a type to a series of protocols. Useful when you are supplying the definitions explicitly inline. Propagates the ...
macrocljs.core
reify creates an object implementing a protocol. reify is a macro with the following structure: (reify options* specs*...
macrocljs.core
Returns a javascript array, cloned from the passed in array
functioncljs.core
Returns the value at the index/indices. Works on JavaScript arrays.
macrocljs.core
Returns the length of the array. Works on arrays of all types.
macrocljs.core
Maps an expression across an array a, using an index named idx, and return value named ret, initialized to a clone of a,...
macrocljs.core
Reduces an expression across an array a, using an index named idx, and return value named ret, initialized to init, sett...
macrocljs.core
Sets the value at the index/indices. Works on JavaScript arrays. Returns val.
macrocljs.core
- function
cljs.core
- function
cljs.core
- function
cljs.core
Creates an array of doubles. Does not coerce array, provided for compatibility with Clojure.
functioncljs.core
- function
cljs.core
- function
cljs.core
Creates an array of ints. Does not coerce array, provided for compatibility with Clojure.
functioncljs.core
Returns an array with components set to the values in aseq. Optional type argument accepted for compatibility with Cloju...
functioncljs.core
- function
cljs.core
Creates an array of longs. Does not coerce array, provided for compatibility with Clojure.
functioncljs.core
- function
cljs.core
Construct a JavaScript array of the specified dimensions. Accepts ignored type argument for compatibility with Clojure. ...
macrocljs.core
Creates an array of objects. Does not coerce array, provided for compatibility with Clojure.
functioncljs.core
Used to set vars and JavaScript object fields
special-formcljs.core
- function
cljs.core
Returns an array containing the contents of coll.
functioncljs.core
Returns a (potentially-ragged) 2-dimensional array containing the contents of coll.
functioncljs.core
General
14Creates a new javascript array. @param {...*} var_args
macrocljs.core
Recursively transforms ClojureScript values to JavaScript. sets/vectors/lists become Arrays, Keywords and Symbol become ...
functioncljs.core
- special-form
cljs.core
Recursively transforms JavaScript arrays into ClojureScript vectors, and JavaScript objects into ClojureScript maps. Wi...
functioncljs.core
Emit a top-level JavaScript multi-line comment. New lines will create a new comment line. Comment block will be preceded...
macrocljs.core
Emit JavaScript "debugger;" statement
macrocljs.core
Delete a property from a JavaScript object. Returns true upon success, false otherwise.
macrocljs.core
Emit an inline JavaScript comment.
macrocljs.core
Invoke JavaScript object method via string. Needed when the string is not a valid unquoted property name.
functioncljs.core
Return the JavaScript keys for an object.
functioncljs.core
Create JavaSript object from an even number arguments representing interleaved keys and values.
macrocljs.core
Identical to specify! but does not mutate its first argument. The first argument must be an ICloneable instance.
macrocljs.core
Identical to reify but mutates its first argument.
macrocljs.core
Defines a scope where JavaScript's implicit "this" is bound to the name provided.
macrocljs.core