---
schema_version: "1"
id: bd9a41c004ec98c1fe05050afc5934dba79d2a5be21881032e8dbcb0e795110b
title: Objects (dw::core::Objects)
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/latest/dw-objects.md
canonical_url: https://docs.mulesoft.com/dataweave/latest/dw-objects
source_site: docs.mulesoft.com
content_type: documentation
content_hash: e752a1bd73ece6375cbe5d9eaf9bafc6a3a7c4accbc2f605eec2778137fed7f1
description: MuleSoft Documentation Site
release: "2.13"
latest: true
---
---
product: DataWeave
version: 2.13
is-latest-version: true
---

# Objects (dw::core::Objects)

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

This module contains helper functions for working with objects.

To use this module, you must import it to your DataWeave code, for example, by adding the line
`import * from dw::core::Objects` to the header of your DataWeave script.

## Functions

<table><colgroup><col> <col></colgroup><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><p><a href="https://docs.mulesoft.com/dataweave/latest/dw-objects-functions-divideby">divideBy</a></p></td><td><p>Breaks up an object into sub-objects that contain the specified number of key-value pairs.</p></td></tr><tr><td><p><a href="https://docs.mulesoft.com/dataweave/latest/dw-objects-functions-entryset">entrySet</a></p></td><td><p>Returns an array of key-value pairs that describe the key, value, and any attributes in the input object.</p></td></tr><tr><td><p><a href="https://docs.mulesoft.com/dataweave/latest/dw-objects-functions-everyentry">everyEntry</a></p></td><td><p>Returns <code>true</code> if every entry in the object matches the condition.</p></td></tr><tr><td><p><a href="https://docs.mulesoft.com/dataweave/latest/dw-objects-functions-keyset">keySet</a></p></td><td><p>Returns an array of key names from an object.</p></td></tr><tr><td><p><a href="https://docs.mulesoft.com/dataweave/latest/dw-objects-functions-mergewith">mergeWith</a></p></td><td><p>Appends any key-value pairs from a source object to a target object.</p></td></tr><tr><td><p><a href="https://docs.mulesoft.com/dataweave/latest/dw-objects-functions-nameset">nameSet</a></p></td><td><p>Returns an array of keys from an object.</p></td></tr><tr><td><p><a href="https://docs.mulesoft.com/dataweave/latest/dw-objects-functions-someentry">someEntry</a></p></td><td><p>Returns <code>true</code> if at least one entry in the object matches the specified condition.</p></td></tr><tr><td><p><a href="https://docs.mulesoft.com/dataweave/latest/dw-objects-functions-takewhile">takeWhile</a></p></td><td><p>Selects key-value pairs from the object while the condition is met.</p></td></tr><tr><td><p><a href="https://docs.mulesoft.com/dataweave/latest/dw-objects-functions-valueset">valueSet</a></p></td><td><p>Returns an array of the values from key-value pairs in an object.</p></td></tr></tbody></table>
