Skip to content

Instantly share code, notes, and snippets.

@tobie
Created January 12, 2009 01:26
Show Gist options
  • Save tobie/45847 to your computer and use it in GitHub Desktop.
Save tobie/45847 to your computer and use it in GitHub Desktop.
(function() {
var toString = Object.prototype.toString;
function isNumber(object) {
return toString.call(object) === "[object Number]";
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment