mac to Programmer Humor • 7 months agoisEven APIisevenapi.xyzmessage-square28arrow-up1297arrow-down17
arrow-up1290arrow-down1external-linkisEven APIisevenapi.xyzmac to Programmer Humor • 7 months agomessage-square28
minus-square@eluvatarlink16•edit-27 months agoThe errors are great https://api.isevenapi.xyz/api/iseven/1.5 ~~Sadly it’s not always accurate https://api.isevenapi.xyz/api/iseven/0~~ Edit: nevermind I’m an idiot It’s also greatly lacking in number support https://api.isevenapi.xyz/api/iseven/one
minus-square@[email protected]linkfedilink11•7 months agoIs even states that it only returns true for even, passing in an odd number is technically unsupported.
minus-squarehuf [he/him]linkfedilinkEnglish2•7 months agozero is even, so i dont see how that one’s wrong
The errors are great https://api.isevenapi.xyz/api/iseven/1.5
~~Sadly it’s not always accurate https://api.isevenapi.xyz/api/iseven/0~~ Edit: nevermind I’m an idiot
It’s also greatly lacking in number support https://api.isevenapi.xyz/api/iseven/one
Is even states that it only returns true for even, passing in an odd number is technically unsupported.
zero is even, so i dont see how that one’s wrong
Oh you’re right, I’m not sure what I was Ln thinking