def join_list(values, delimiter='<STR_LIT:U+002CU+0020>', transform=None):
<EOL>if transform is None:<EOL><INDENT>transform = _identity<EOL><DEDENT>if values is not None and not isinstance(values, (str, bytes)):<EOL><INDENT>values = delimiter.join(transform(x) for x in values)<EOL><DEDENT>return values<EOL>
Concatenates the upper-cased values using the given delimiter if
the given values variable is a list. Otherwise it is just returned.
:param values: List of strings or string .
:param delimiter: The delimiter used to join the values.
:return: The concatenation or identity.