zero is even, so i dont see how that one’s wrong
Comment on isEven API
eluvatar@programming.dev 10 months ago
The errors are great api.isevenapi.xyz/api/iseven/1.5
Sadly it’s not always accurate api.isevenapi.xyz/api/iseven/0
huf@hexbear.net 10 months ago
eluvatar@programming.dev 10 months ago
Oh you’re right, I’m not sure what I was Ln thinking
xmunk@sh.itjust.works 10 months ago
Is even states that it only returns true for even, passing in an odd number is technically unsupported.