---
schema_version: "1"
id: 8d2f55b459d72b23fb1157e31571937cf070b7441aece2b5be28a3ce0e6fc131
title: version
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/latest/dw-runtime-functions-version.md
canonical_url: https://docs.mulesoft.com/dataweave/latest/dw-runtime-functions-version
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 97f05679aa28da0912a067721fb68474ba43873617892e92e9474dbf406723f5
description: MuleSoft Documentation Site
release: "2.13"
latest: true
---
---
product: DataWeave
version: 2.13
is-latest-version: true
---

# version

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## version(): String

Returns the DataWeave version that is currently running.

_Introduced in DataWeave version 2.5.0._

### Example

This example returns the DataWeave version.

#### Source

```DataWeave
%dw 2.0
import * from dw::Runtime
output application/json
---
version()
```

#### Output

```Json
"2.5"
```
