Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
glts opened this issue May 12, 2018 · 0 comments

Comments

@glts
Copy link

glts commented May 12, 2018

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant