(cast-every-other-param coll)
Converts a collection to an array, applying cast-param to every other item. Useful for converting key-value parameters where keys need casting.
Converts a collection to an array, applying cast-param to every other item. Useful for converting key-value parameters where keys need casting.
(cast-param value)
Value is either a T, String, or keyword. If it's a keyword, pass the name.
Value is either a T, String, or keyword. If it's a keyword, pass the name.
(fs-to-function-array fs)
Converts a collection of functions to a java.util.function.Function array.
Converts a collection of functions to a java.util.function.Function array.
(inspect-vertex v)
Development helper: Prints the properties of a vertex in a readable form.
Parameters: v - The vertex to inspect
Returns the vertex for chaining.
Development helper: Prints the properties of a vertex in a readable form. Parameters: v - The vertex to inspect Returns the vertex for chaining.
(into-list! t)
Returns the objects in the traversal as a list.
Returns the objects in the traversal as a list.
(into-seq! t)
Returns the objects of the traversal as a sequence.
Returns the objects of the traversal as a sequence.
(into-set! t)
Returns the objects in the traversal as a set.
Returns the objects in the traversal as a set.
(into-vec! t)
Returns the objects in the traversal as a vector.
Returns the objects in the traversal as a vector.
(iterate! t)
Iterates the traversal with the intent of producing side effects.
Iterates the traversal with the intent of producing side effects.
(keywordize-param value)
Whatever the value is, try to turn it into the keyword form
Whatever the value is, try to turn it into the keyword form
(map-every-nth f coll n)
Applies function f to every nth element in the collection.
Applies function f to every nth element in the collection.
(next! t)
(next! t i)
Returns the next object in the traversal.
Returns the next object in the traversal.
(string-or-keyword value)
Checks if the given value is either a string or keyword.
Checks if the given value is either a string or keyword.
(with-transaction g & body)
Evaluates the given expression in a try/catch block and commits on success or drops the changes on exception if caught.
Evaluates the given expression in a try/catch block and commits on success or drops the changes on exception if caught.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close