Created
November 7, 2018 19:01
-
-
Save nairihar/9dcf516eda76697ce1fc6763c5e4ec05 to your computer and use it in GitHub Desktop.
Running across NPM
This file contains hidden or 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
function isString(val) { | |
return typeof val === 'string'; | |
} | |
function isNumber(val) { | |
return typeof val === 'number'; | |
} | |
module.exports = { | |
isString, | |
isNumber, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment