Simplify isArray

From isaacs/core-util-is#1