Fork me on GitHub
#clj-kondo
<
2023-06-26
>
Ben Lieberman16:06:06

An observation not 100% relevant to kondo but in CLJS passing a char to clojure.string/includes? (e.g. (clojure.string/includes? "foo" \o)) does not throw an exception (it evaluates to true) but does (probably wisely) show as a :type-mismatch . Curious if there's other instances of this in clj vs cljs?

serioga09:06:25

There is no char type in JS, 1-char strings emulate them.