Constraint for row total with each element in the array less than a given value

In reply to Yuankun:

shouldn’t

constraint abc{
     foreach(array[i,j]){
        array[i][j] < 80;
     }
}

suffice?