Compruebe si la matriz de cadenas JavaScript
export const isStringArray = (array) => array.every((val) => typeof val === 'string');
Husnain Syed
export const isStringArray = (array) => array.every((val) => typeof val === 'string');