refactore out more spec-herlper fcts

pull/1/head
Michael Jerger 10 months ago
parent 077a50e733
commit 21c5a0244e

@ -5,11 +5,7 @@
[org.domaindrivenarchitecture.activity-pub-poc.owl :as owl]
[org.domaindrivenarchitecture.activity-pub-poc.xsd :as xsd]))
(defn-spec
is-functional-property? boolean?
"Checks whether spec is a FunctionalProperty."
[spec keyword?]
(some #(clojure.string/includes? % "FunctionalProperty") (s/describe spec)))
;=======================

Loading…
Cancel
Save