validateSel static method

bool validateSel(
  1. List<Codec> items
)

Returns true when selected at least one codec in the input list

Implementation

static bool validateSel(List<Codec> items) {
  for(Codec c in items) {
    if(c.selected) return true;
  }
  return false;
}