---
schema_version: "1"
id: b1a08e2cc11478cc5b83a3edd59f0d3c1e8ca090d450e161c066e20ac9dbfefc
title: version
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.9/dw-runtime-functions-version.md
canonical_url: https://docs.mulesoft.com/dataweave/2.9/dw-runtime-functions-version
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 7baec740eb97b3d76ac7331521f3f383c48199589efb074559546c0147f75b8c
description: MuleSoft Documentation Site
release: "2.9"
latest: false
---
---
product: DataWeave
version: 2.9
---

# 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"
```
