%dw 2.0
import * from dw::Runtime
output application/json
---
version()
DataWeave
version
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
Output
"2.5"
Json