javascript check if an array of objects includes a value and which array index code example
Example: angular list contains property
vendors.filter(function(vendor){ return vendor.Name === "Magenic" })
vendors.filter(function(vendor){ return vendor.Name === "Magenic" })