# comma_list

> **Function** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/utils/strings/comma_list)

Convert an iterable to a comma-separated string.

## Signature

```python
comma_list(
    items: Iterable[Any],
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `items` | `Iterable[Any]` | Yes | The iterable to convert. |

## Returns

`str`

The comma-separated string.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/9f232caa7a8fe1ca042a401942d5d90d54ceb1a6/libs/core/langchain_core/utils/strings.py#L37)