hasArgsInPlural function

bool hasArgsInPlural(
  1. String zero,
  2. String one,
  3. String two,
  4. String few,
  5. String many,
  6. String other
)

Implementation

bool hasArgsInPlural(String zero, String one, String two, String few,
    String many, String other) {
  var plurals = [zero, one, two, few, many, other];

  for (var plural in plurals) {
    if (ARG_REG_EXP.hasMatch(plural)) {
      return true;
    }
  }
  return false;
}