%dw 2.0
output application/json
import * from dw::core::Types
type AArray = Array<String> {n: 1}
type AArray2 = Array<String>
---
{
a: nameOf(AArray),
b: nameOf(AArray2),
c: nameOf(String)
}
nameOf
nameOf(Type): String
Returns the name of the input type.
Introduced in DataWeave 2.3.0. Supported by Mule 4.3 and later.