Question d’entretien chez Sisense

Question 2- JavaScript: we get an unknown data structure (could be array or string, and etc..), please check if its empty and return true if so.