Renamed myIsArray to isArray