---
schema_version: "1"
id: 566e63b5cf7490ea7b97d741b245469be89c7de6afa2ce6bf2afb12c0a7b626d
title: Diff (dw::util::Diff)
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-diff.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-diff
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 3b7d99cb0da74c8d7ce96bf25d9c8a0146f74005390509cf407459923e1d78f3
description: MuleSoft Documentation Site
release: "2.7"
latest: false
---
# Diff (dw::util::Diff)

このユーティリティモジュールは、2 つの値の差を計算し、差のリストを返します。

このモジュールを使用するには、DataWeave コードにインポートする必要があります。その方法として、たとえば、行 ​`import * from dw::util::Diff`​ を DataWeave スクリプトの ヘッダーに追加します。

## [](#関数)関数

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.7/dw-diff-functions-diff" class="xref page">diff</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">2 つの値の構造的な違いを返します。</p></td>
</tr>
</tbody>
</table>

## [](#型)型

- [Diff の型](https://docs.mulesoft.com/jp/dataweave/2.7/dw-diff-types)