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

Please make an isEven() #24

Open
renandecarlo opened this issue Oct 22, 2024 · 2 comments
Open

Please make an isEven() #24

renandecarlo opened this issue Oct 22, 2024 · 2 comments

Comments

@renandecarlo
Copy link

Otherwise I can only know when a number isOdd, but not when it isEven

@yishayhaz
Copy link

const isOdd = (num) => !isEven(num);
const isEven = (num) => !isOdd(num);

gif

@nkapila6
Copy link

https://github.com/nkapila6/is-even-ai

i made one, for the memes

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

3 participants