type__error’s avatartype__error’s Twitter Archive—№ 10,548

  1. …in reply to @bitandbang
    bitandbang myArray.some(item => item.a = a && item.b=b etc) should do it
    1. …in reply to @type__error
      bitandbang It’ll return true if any objects in the array satisfy those criteria