Liking cljdoc? Tell your friends :D
All platforms.

fireworks.ellipsize


ellipsizedclj/s

(ellipsized x
            {:keys [t key? sev? depth limit badge map-value? inline-badge?
                    top-level-sev?]
             :as m})

Ellipsizes longer-than acceptable self-evaluating values such as strings, regexes, keywords, #insts, fns, etc.

Truncation is based on the following:

  • :non-coll-mapkey-length-limitor :non-coll-length-limit from config
  • Optional inline badge length e.g #js
  • Optional atom or volatile encapsulation e.g. Atom<42>
Ellipsizes longer-than acceptable self-evaluating values such as strings,
regexes, keywords, #insts, fns, etc.

Truncation is based on the following:
- `:non-coll-mapkey-length-limit `or `:non-coll-length-limit` from config
- Optional inline badge length e.g `#js `
- Optional atom or volatile encapsulation e.g. `Atom<42>`
sourceraw docstring

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

× close