Comment on I wish

<- View Parent
KoboldCoterie@pawb.social ⁨8⁩ ⁨months⁩ ago

God, it’s so obvious, you can do it in only two lines of code.

if (number == 1 || number == 3 || number == 5 || number == 7 || number == 9...) return false;
else return true;

source
Sort:hotnewtop