---
schema_version: "1"
id: 3992e87c2bd471c31c7577b98361f9e3003fffd7601fe3bf693b9aa12adece2e
title: Diff (dw::util::Diff)
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.5/dw-diff.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.5/dw-diff
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 477d4fde3072e9fd75ec590c5cdad324f6edf4663c00dbe3bf7930bd2c896932
description: MuleSoft Documentation Site
release: "2.5"
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.5/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.5/dw-diff-types)