I have a 2d array in the format
emi_309 | weak | 16
emi_310 | strong | 9
emi_319 | medium | 8
emi_315 | weak | 5
I want to check if a value greater that a certain number (e.g > 5) exists in the 3rd column using a simple function like the following:
($.inArray( conditions greater than 5 here, $.map(myArray, function(v) { return v[2]; })) > -1)
How do I include the condition (>5) in the above function?
Thanks a lot for your help
It is better to use
$.grepin this case: