Any
Core Types (dw::Core)
DataWeave 2.1 is compatible with Mule 4.1. Standard Support for Mule 4.1 ended on November 2, 2020, and this version of Mule will reach its End of Life on November 2, 2022, when Extended Support ends. Deployments of new applications to CloudHub that use this version of Mule are no longer allowed. Only in-place updates to applications are permitted. MuleSoft recommends that you upgrade to the latest version of Mule 4 that is in Standard Support so that your applications run with the latest fixes and security enhancements. |
Type | Definition | Description |
---|---|---|
|
The top-level type. |
|
Array |
|
Array type that requires a |
Binary |
|
A blob. |
Boolean |
|
A |
CData |
|
XML defines a It can be used to tell the writer to wrap the content inside CDATA or to
check if the input string arrives inside a CDATA block. Source
Output
|
Comparable |
|
A union type that represents all the types that can be compared to each other. |
Date |
|
A date represented by a year, month, and day. For example: |
DateTime |
|
A |
Dictionary |
|
Generic dictionary interface. |
Enum |
|
This type is based on the Enum Java class. It must always be used with the Source
|
Iterator |
|
This type is based on the iterator Java class. The iterator contains a collection and includes methods to iterate through and filter it. Just like the Java class, |
Key |
|
A key of an |
LocalDateTime |
|
A |
LocalTime |
|
A |
NaN |
|
|
Namespace |
|
A |
Nothing |
|
Bottom type. This type can be assigned to all the types. |
Null |
|
A Null type. |
Number |
|
A number type: Any number, decimal, or integer is represented by the Number` type. |
Object |
|
Type that represents any object, which is a collection of |
Period |
|
A period. |
Range |
|
A |
Regex |
|
A regex type. |
SimpleType |
|
A union type that represents all the simple types. |
String |
|
These are the native types of DataWeave. They are the only types that allow the |
Time |
|
A time in a specific |
TimeZone |
|
A time zone. |
Type |
|
A type in the DataWeave type system. |
Uri |
|
A URI. |