• 4am@lemm.ee
    ·
    7 months ago

    Incoming trademark lawsuit from iSeven, the API that tells you if a number is seven or not

  • eluvatar@programming.dev
    ·
    edit-2
    7 months ago

    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

  • morrowind@lemmy.ml
    ·
    7 months ago

    I resent that there is a ruby developer included in there. isEven is not idiomatic naming. You should be using #even? from the standard library

    • fckreddit@lemmy.ml
      ·
      7 months ago

      Sorry sir, most JS developers don’t use standard library functions. We just use npm packages wherever possible.