Comment

Comment by krowek

There's always an NPM package, even for trivial things like

  function fn(val) {
    return typeof val === "number" &&
      isFinite(val) &&
      Math.floor(val) === val;
  };
parent krowek 11 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton