Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check if string Array javascript

export const isStringArray = (array) => array.every((val) => typeof val === 'string');
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #check #string #Array #javascript
ADD COMMENT
Topic
Name
9+3 =