Getting started Community Training Tutorials Documentation APIs, AI & Tools
%dw 2.0
output application/json
import * from dw::util::Values
ns ns0 http://acme.com/foo
---
index(0)
You're viewing an older version of the documentation. You can switch to the latest version or use the version selector in the left navigation.
This function creates a PathElement data type to use for selecting an
array element and populates the type’s selector field with the specified
index.
Some versions of the update and mask functions accept a PathElement as
an argument.
Introduced in DataWeave version 2.2.2.