Created
September 1, 2014 05:19
-
-
Save RyoSugimoto/cad17abf4fdab5f4fe40 to your computer and use it in GitHub Desktop.
配列かどうかを判定する関数。
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 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