Last active
June 21, 2016 13:43
-
-
Save ilyachenko/1034ac52d47adc7866f06e91f346b75e to your computer and use it in GitHub Desktop.
Showing the top six matches.
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
export default function typeOf(obj) { | |
return Object.prototype.toString.call(obj).slice(8, -1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment