improve logic for arrays and remvoe typeof function test as error message is clear enough
improve logic for arrays and remvoe typeof function test as error message is clear enough

NicolasDuran/packages-download-stats