kibit icon indicating copy to clipboard operation
kibit copied to clipboard

Suggest using ‘(boolean? x)’ instead of ‘(or (true? x) (false? x))’ on Clojure 1.9 and later

Open glts opened this issue 7 years ago • 0 comments

Clojure 1.9 introduced the predicate boolean?.

In Clojure 1.9 and later (boolean? x) replaces the older idiom (or (true? x) (false? x)).

Please consider adding a rule that suggests this change. Thank you!

glts avatar May 12 '18 10:05 glts