Fix issue 12771 - Variant opIndex for static arrays is not implemented.
Shorten array checks to isArray
Merge pull request #2188 from Kapps/fix12771

Fix issue 12771 - Variant opIndex for static arrays is not implemented.