1 2 3 4 5 6 7 8 9 10
(ns clarktown.matchers.horizontal-line-block (:require [clojure.string :as string])) (defn match? "Determines whether the given block is a horizontal line block." [block] (or (= "***" (string/trim block)) (= "---" (string/trim block))))