macro | previously cljs.spec.test/checkable-syms | ![]() | Edit |
(checkable-syms)
(checkable-syms opts)
Given an opts map as per check, returns the set of syms that can be checked.
(defmacro checkable-syms
([]
`(checkable-syms nil))
([opts]
`(let [opts# ~opts]
(validate-check-opts opts#)
(reduce conj #{}
'[~@(filter fn-spec-name? (keys @(registry-ref)))
~@(keys (:spec opts))]))))