Liking cljdoc? Tell your friends :D

im-tables.events


alphabetcljs

source

begins-with?cljs

(begins-with? substring string)

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

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

coll-contains?cljs

(coll-contains? needle haystack)
source

constraint-appendcljs

(constraint-append query constraint)

Append a new constraint to a query map. Computes the next letter to be assoced as :code on the constraint, and appends it to the :constraintLogic string.

Append a new constraint to a query map. Computes the next letter to be assoced
as `:code` on the constraint, and appends it to the `:constraintLogic` string.
sourceraw docstring

consts->lettercljs

(consts->letter consts)

Takes a sequence of constraints and returns the first unused letter. Expects all constraints to have a :code key so make sure the query has been run through imcljs.query/sterilize-query.

Takes a sequence of constraints and returns the first unused letter.
Expects all constraints to have a `:code` key so make sure the query has been
run through `imcljs.query/sterilize-query`.
sourceraw docstring

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.
sourceraw 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
sourceraw docstring

first-lettercljs

(first-letter letters)
source

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.
sourceraw docstring

haystack-has?cljs

(haystack-has? haystack needle)
source

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
sourceraw docstring

index-mapcljs

(index-map results offset)
source

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
sourceraw docstring

logic-appendcljs

(logic-append constlogic letter)

Appends a new letter to a possibly empty constraint logic string.

Appends a new letter to a possibly empty constraint logic string.
sourceraw 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 
sourceraw docstring

summary-querycljs

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

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
sourceraw docstring

toggle-into-setcljs

(toggle-into-set haystack needle)
source

withoutcljs

(without coll item)
source

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

× close