Accessing
26Returns the number of items in the collection. (count nil) returns 0. Also works on strings, arrays, and Java Collect...
functionclojure.core
Returns an empty collection of the same category as coll, or nil
functionclojure.core
Returns the map entry for key, or nil if key not present.
functionclojure.core
Return `zloc` located to the first node satisfying predicate `p?` else nil. Search starts at the current node and con...
functionrewrite-clj.zip
Returns the first item in the collection. Calls seq on its argument. If coll is nil, returns nil.
functionclojure.core
- function
babashka.curl
Convenience wrapper for `request` with method `:get`
functionbabashka.http-client
Returns the value mapped to key, not-found or nil if key not present in associative collection, set, string, array, or...
functionclojure.core
Issues an async HTTP GET request. See `request` for details.
functionorg.httpkit.client
Returns `zloc` located to map key node's sexpr value matching `k` else `nil`. `k` should be: - a key for maps - a...
functionrewrite-clj.zip
Returns the value in a nested associative structure, where ks is a sequence of keys. Returns nil if the key is not p...
functionclojure.core
Returns the key of the map entry.
functionclojure.core
Returns a sequence of the map's keys, in the same order as (seq map).
functionclojure.core
Return the last item in coll, in linear time
functionclojure.core
Returns a seq of the items after the first. Calls seq on its argument. If there are no more items, returns nil.
functionclojure.core
Moves to the next loc in the hierarchy, depth-first. When reaching the end, returns a distinguished loc detectable via...
functionclojure.zip
Return zipper with location moved to the next depth-first non-whitespace/non-comment node in `zloc`. End can be detec...
functionrewrite-clj.zip
Returns the value at the index. get returns nil if index out of bounds, nth throws an exception unless not-found is su...
functionclojure.core
For a list or queue, same as first, for a vector, same as, but much more efficient than, last. If the collection is em...
functionclojure.core
Returns a possibly empty seq of the items after the first. Calls seq on its argument.
functionclojure.core
Same as (first (next x))
functionclojure.core
Returns a seq on the collection. If the collection is empty, returns nil. (seq nil) returns nil. seq also works on ...
functionclojure.core
Create a lazy-seq of all of the (unique) nodes in a shrink-tree. This assumes that two nodes with the same value have ...
functionclojure.test.check.rose-tree
Coerces coll to a (possibly empty) sequence, if it is not already one. Will not force a lazy seq. (sequence nil) yield...
functionclojure.core
Returns the value in the map entry.
functionclojure.core
Returns a sequence of the map's values, in the same order as (seq map).
functionclojure.core