refactore out more spec-herlper fcts

This commit is contained in:
Michael Jerger 2023-07-28 17:06:13 +02:00
parent 077a50e733
commit 21c5a0244e

View file

@ -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)))
;=======================