Skip to content

Instantly share code, notes, and snippets.

@yyong37
Created March 25, 2016 16:40
Show Gist options
  • Save yyong37/d22bd40981aeb33b61fe to your computer and use it in GitHub Desktop.
Save yyong37/d22bd40981aeb33b61fe to your computer and use it in GitHub Desktop.
Javascript
var is_array = function(value) {
return Object.prototype.toString.apply(value) === '[object Array]';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment