# identity

> **Function** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/runnables/passthrough/identity)

Identity function.

## Signature

```python
identity(
    x: Other,
) -> Other
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `x` | `Other` | Yes | Input. |

## Returns

`Other`

Output.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/311675a517f51ec6c77454124293c58df517e952/libs/core/langchain_core/runnables/passthrough.py#L50)