mac@programming.dev to Programmer Humor@programming.dev · 9 months agoisEven APIisevenapi.xyzexternal-linkmessage-square28fedilinkarrow-up1295arrow-down17
arrow-up1288arrow-down1external-linkisEven APIisevenapi.xyzmac@programming.dev to Programmer Humor@programming.dev · 9 months agomessage-square28fedilink
minus-squareeluvatar@programming.devlinkfedilinkarrow-up16·edit-29 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-squarexmunk@sh.itjust.workslinkfedilinkarrow-up10·9 months agoIs even states that it only returns true for even, passing in an odd number is technically unsupported.
minus-squarehuf [he/him]@hexbear.netlinkfedilinkEnglisharrow-up2·9 months agozero is even, so i dont see how that one’s wrong
minus-squareeluvatar@programming.devlinkfedilinkarrow-up2·9 months agoOh you’re right, I’m not sure what I was Ln thinking
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