JSFiddle - React, Tailwind, and code Playground

JavaScript

var test1=[{apx: "45.406/19.292", id: 1},{apx: "45.406/19.292", id: 2},{apx: "45.406/19.300", id: 3}]
var found;
found= $.grep(test1,function(o,i)
              {
                  for(var ii=0;ii< test1.length;ii++)
                  {
                      return o.apx == test1[ii].apx;
                  }
                  
              })
    console.log(found);