I\'m getting an array returned to me and I need to count the rows that have a value in them
I\'ve tried to call arr.length but that gives me the total length of the
You can try this:
var count = 0; for (var x of arr) { if (x.id != '') { count++; } }
Basically what I do is that loop through all the object and if it's not an empty string, then count it.