curiously there are ^CharSequence
type hints all over clojure.string
, and yet most of the functions just call .toString
on the args, such that you can actually pass anything that's not nil
it's not universal though; with (clojure.string/includes? s1 s2)
, s1
can be any type, while s2
must be a CharSequence