JSFiddle - React, Tailwind, and code Playground
by minagabriel
JavaScript
var portList = [{port:7777},{port:1234}];
var port = 7777;
$.each(portList, function(index, value){
if(value.port == port){
console.log(value.port + ' is in list');
}
});