Simplify isArray

From isaacs/core-util-is#1
Merge pull request #2 from KenanY/isarray

Simplify isArray