Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typoescript find multiple items in array and return found

let names= ["Style","List","Raw"];
let results= names.filter(x => x.includes("s"));
console.log(results); //["List"]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typoescript #find #multiple #items #array #return
ADD COMMENT
Topic
Name
6+6 =