Liking cljdoc? Tell your friends :D

clarktown.correctors.list-block


newline-above?clj

(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.
sourceraw docstring

newline-below?clj

(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.
sourceraw docstring

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

× close