(indent s)
(indent indent-level s)
(indent first-line-indent rest-lines-indent s)
Given an potentially multi-line string, returns that string indented by 'indent-level' spaces. Optionally, can indent first line and other lines different amounts.
Given an potentially multi-line string, returns that string indented by 'indent-level' spaces. Optionally, can indent first line and other lines different amounts.
(no-trailing-whitespace s)
Given an potentially multi-line string, returns that string with all trailing whitespace removed.
Given an potentially multi-line string, returns that string with all trailing whitespace removed.
(pprint-str x)
Returns the pretty-printed string
Returns the pretty-printed string
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close