Mac@programming.dev to Programmer Humor@programming.dev · 1 year agoisEven APIisevenapi.xyzexternal-linkmessage-square22fedilinkarrow-up1290arrow-down17
arrow-up1283arrow-down1external-linkisEven APIisevenapi.xyzMac@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square22fedilink
minus-squareeluvatar@programming.devlinkfedilinkarrow-up16·edit-21 year 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-up11·1 year agoIs even states that it only returns true for even, passing in an odd number is technically unsupported.
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.