refactore out more spec-herlper fcts
This commit is contained in:
parent
077a50e733
commit
21c5a0244e
1 changed files with 1 additions and 5 deletions
|
@ -5,11 +5,7 @@
|
||||||
[org.domaindrivenarchitecture.activity-pub-poc.owl :as owl]
|
[org.domaindrivenarchitecture.activity-pub-poc.owl :as owl]
|
||||||
[org.domaindrivenarchitecture.activity-pub-poc.xsd :as xsd]))
|
[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…
Reference in a new issue