Liking cljdoc? Tell your friends :D

day8.re-frame-10x.utils.utils


copy-to-clipboardcljs

(copy-to-clipboard text)
source

default-readerscljs

source

source

find-all-indexes-in-veccljs

(find-all-indexes-in-vec pred v)

Gets the index of all items in vec that match the predicate

Gets the index of all items in vec that match the predicate
sourceraw docstring

find-index-in-veccljs

(find-index-in-vec pred v)

Gets the index of the first item in vec that matches the predicate

Gets the index of the first item in vec that matches the predicate
sourceraw docstring

id-between-xfcljs

(id-between-xf beginning ending)

Returns a transducer that filters for :id between beginning and ending.

Returns a transducer that filters for :id between beginning and ending.
sourceraw docstring

last-in-veccljs

(last-in-vec v)

Get the last element in the vector. Returns nil if v is empty

Get the last element in the vector. Returns nil if v is empty
sourceraw docstring

pluralizecljs

(pluralize num singular & [plural])

Return a pluralized phrase, appending an s to the singular form if no plural is provided. For example: (pluralize 5 "month") => "5 months" (pluralize 1 "month") => "1 month" (pluralize 1 "radius" "radii") => "1 radius" (pluralize 9 "radius" "radii") => "9 radii" From https://github.com/flatland/useful/blob/194950/src/flatland/useful/string.clj#L25-L33

Return a pluralized phrase, appending an s to the singular form if no plural is provided.
For example:
   (pluralize 5 "month") => "5 months"
   (pluralize 1 "month") => "1 month"
   (pluralize 1 "radius" "radii") => "1 radius"
   (pluralize 9 "radius" "radii") => "9 radii"
   From https://github.com/flatland/useful/blob/194950/src/flatland/useful/string.clj#L25-L33
sourceraw docstring

pluralize-cljs

(pluralize- num singular & [plural])

Same as pluralize, but doesn't prepend the number to the pluralized string.

Same as pluralize, but doesn't prepend the number to the pluralized string.
sourceraw docstring

spycljs

(spy x)
(spy label x)
source

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

× close