(newline-above? lines line index)
Determines whether there's a need for an empty new line
above the line
at the current index
. In the list block
case that's when the above line is not a newline and is not
a list block line.
Determines whether there's a need for an empty new line above the `line` at the current `index`. In the list block case that's when the above line is not a newline and is not a list block line.
(newline-below? lines line index)
Determines whether there's a need for an empty new line
above the line
at the current index
. In the list block
case that's when the below line is not a newline and is not
a list block line.
Determines whether there's a need for an empty new line above the `line` at the current `index`. In the list block case that's when the below line is not a newline and is not a list block line.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close