Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

lodash find array of strings

let arr = ['a','b','c'];
console.log( _.includes(arr, 42) ); // false
console.log( _.includes(arr, 'd') ); // false
console.log( _.includes(arr, 'c') ); // true
 
PREVIOUS NEXT
Tagged: #lodash #find #array #strings
ADD COMMENT
Topic
Name
8+1 =