joinArgs method

String joinArgs()

if more than one element add trailing ','

Implementation

String joinArgs() {
  if (isEmpty) {
    return '';
  } else if (length == 1) {
    return first;
  } else {
    return join(', ') + ',';
  }
}