Liking cljdoc? Tell your friends :D

im-tables.events


alphabetcljs


begins-with?cljs

(begins-with? substring string)

Clojure.string/starts-with? with reversed argument order

Clojure.string/starts-with? with reversed argument order
raw docstring

coll-contains?cljs

(coll-contains? needle haystack)

deep-mergecljs

(deep-merge & vals)

Recursively merges maps. If keys are not maps, the last value wins.

Recursively merges maps. If keys are not maps, the last value wins.
raw docstring

drop-nthcljs

(drop-nth n coll)

Drop a value from a collection at a specific index

Drop a value from a collection at a specific index
raw docstring

first-lettercljs

(first-letter letters)

flip-presencecljs

(flip-presence m k)

If a key is present in a map then remove it, otherwise add the key with a value of true.

If a key is present in a map then remove it, otherwise add the key with a value of true.
raw docstring

haystack-has?cljs

(haystack-has? haystack needle)

indexcljs

(index pred coll)

Given a predicate and a collection, find the index of the first truthy value (index (partial = :b) [:a :b :c]) => 1 (index #(clojure.string/sarts-with? % xyz) [abc1 def2 xyz3]) => 2

Given a predicate and a collection, find the index of the first truthy value
(index (partial = :b) [:a :b :c]) => 1
(index #(clojure.string/sarts-with? % xyz) [abc1 def2 xyz3]) => 2
raw docstring

index-mapcljs

(index-map results offset)

insert-nthcljs

(insert-nth coll n item)

Insert a value into a collection at a specifix

Insert a value into a collection at a specifix
raw docstring

move-nthcljs

(move-nth coll from-idx to-idx)

Shift an item from one index in a collection to another

Shift an item from one index in a collection to another 
raw docstring

summary-querycljs

(summary-query {:keys [class id summary-fields]})

swapcljs

(swap coll index-a index-b)

Given a collection, swap the positions of elements at index-a and index-b with eachother

Given a collection, swap the positions of elements at index-a and index-b with eachother
raw docstring

toggle-into-setcljs

(toggle-into-set haystack needle)

withoutcljs

(without coll item)

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

× close