-
-
Save forl/db33f97a3904f7c1adcca9bc10305f50 to your computer and use it in GitHub Desktop.
isNumber
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
var isNumber = function isNumber (value) { | |
return typeof value === 'number' && isFinite(value); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment