Skip to content

Instantly share code, notes, and snippets.

@sonnyksimon
Created January 13, 2021 19:02
Show Gist options
  • Save sonnyksimon/3dcce800c8b1b50ef99f30b189ef2fde to your computer and use it in GitHub Desktop.
Save sonnyksimon/3dcce800c8b1b50ef99f30b189ef2fde to your computer and use it in GitHub Desktop.
js isNotANumber
const isNotANumber = (v) => {
const n = Number(v);
return n !== n;
}
export default isNotANumber;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment