There are a handful of predicates in cljs.core that can be type hinted. They all delegate directly to either instance? or satisfies?.
cljs.core
instance?
satisfies?
The set comprises: var?, iterable?, cloneable?, volatile?, tagged-literal?
var?
iterable?
cloneable?
volatile?
tagged-literal?
fixed https://github.com/clojure/clojurescript/commit/bc6f93e937f3f80cd8c47097863399752189d561
2nd patch employs ^boolean not ^:boolean
^boolean
^:boolean
There are a handful of predicates in
cljs.core
that can be type hinted. They all delegate directly to eitherinstance?
orsatisfies?
.The set comprises:
var?
,iterable?
,cloneable?
,volatile?
,tagged-literal?