Answers for "return true if array of objects is match in javascript"

0

return tru if one of the objects in a aray has a fild match

if (vendors.some(e => e.Name === 'Magenic')) {
  /* vendors contains the element we're looking for */
}
Posted by: Guest on March-05-2021

Code answers related to "return true if array of objects is match in javascript"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language