(badge-type s)
Derived badge type keyword, based on input string.
(badge-type "#js ") => :literal-label
(badge-type "λ") => :lamda-label
(badge-type "SomeOtherTypeOrClass") => :type-label
Derived badge type keyword, based on input string. (badge-type "#js ") => :literal-label (badge-type "λ") => :lamda-label (badge-type "SomeOtherTypeOrClass") => :type-label
(m->sgr {fgc* :color
bgc* :background-color
:keys [k font-style font-weight disable-italics? disable-font-weights?
debug-on-token?]
:or {debug-on-token? false}
:as m})
(shortened v limit)
Stringifies a collection and truncates the result with ellipsis so that it fits on one line.
Stringifies a collection and truncates the result with ellipsis so that it fits on one line.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close