Considering you have following snippet:
var array = [
{ name:"string 1", value:"this", other: "that" },
{ name:"string 2", value:"this", other: "that" }
];
You can use the following function to search for items
const search = what => array.find(element => element.name === what);
And you can check whether the item was found or not.
if (search("string 1")) {
console.log(search.value, search.other);
} else {
console.log('No result found');
}