Skip to content

Instantly share code, notes, and snippets.

@RyoSugimoto
Created September 1, 2014 05:19
Show Gist options
  • Select an option

  • Save RyoSugimoto/cad17abf4fdab5f4fe40 to your computer and use it in GitHub Desktop.

Select an option

Save RyoSugimoto/cad17abf4fdab5f4fe40 to your computer and use it in GitHub Desktop.
配列かどうかを判定する関数。
function isArray (arg) {
if(arg instanceof Array){
return true;
} else {
return false;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment