isFirst

return true, if current row is first row

return false, if not first row

 

if(result.isFirst()) { /* script */ };