Datatable: How to break $$('datatable').eachRow(function(rowId) {}) loop;

Is there any way to break $$(‘datatable’).eachRow(function(rowId) {}); loop ?
I want to break this loop after certain conditions are fulfilled, but not able to do this :(.

I tried returning false as soon as my conditions are successful, but still loop is not getting break.

There is no way to break the “eachRow” loop
If this is really critical requirement, you can use a low level approach

for (var i=0; i<dtable.data.order.length; i++)
      if (!do_some(dtable.data.order[i]))
              break;