issue #1 fixed - isArray checks for array
Merge pull request #2 from antonkand/master

issue #1 fixed - isArray checks for array