Überprüfen Sie, ob String Array JavaScript
export const isStringArray = (array) => array.every((val) => typeof val === 'string');
Husnain Syed
export const isStringArray = (array) => array.every((val) => typeof val === 'string');