blob: cc7b7f41d435a5bf6d653bf17a118c5e74003517 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
(ns clarktown.matchers.empty-block
(:require
[clojure.string :as string]))
(defn match?
"Determines if the current block is an empty block or not."
[block]
(-> (string/replace block #"\n" "")
string/trim
string/blank?))
|