Liking cljdoc? Tell your friends :D
All platforms.

fireworks.ellipsize


ellipsizedclj/s

(ellipsized x {:keys [t limit key? badge inline-badge? atom?] :as m})

Ellipsizes longer-than acceptable self-evaluating values such as strings, regexes, keywords, #insts, fns, etc. Truncation is based on the following:

  • :mapkey-width-limit or :value-width-limit values from config
  • Optional inline badge length e.g #js
  • Optional atom 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:
- :mapkey-width-limit or :value-width-limit values from config
- Optional inline badge length e.g `#js`
- Optional atom encapsulation e.g. `Atom<42>`
sourceraw docstring

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

× close