Predicate instant?

I need a cljc function for a spec to verify that a thing is an #inst; I see js/Date. things as well as back-end things doing this. Any suggestions?

What about inst?? ie (inst? (js/Date.)) returns true.

That’s the one! How did I miss that? (somwhere between trying t keep instance? straight from instants)

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.