Created
January 13, 2021 19:02
-
-
Save sonnyksimon/3dcce800c8b1b50ef99f30b189ef2fde to your computer and use it in GitHub Desktop.
js isNotANumber
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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