(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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |