Hello struggling with something that maybe obvious but. How do I get the complement of this such that I return all records that the keyword :signedLicenseKeyis present?
:signedLicenseKey (m/pred nil? ?signedLicenseKey)
@garyberger some? is the complement of nil? in Clojure, so you can also use: (m/pred some? ?signedLicenseKey)
I remembered the wrong comp 😄
Have you tried
:signedLicenseKey (m/pred (comp nil?) ?signedLicenseKey)actually this does work
(m/pred (complement nil?) ?signedLicenseKey)