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

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

このモジュールは Mule Runtime に含まれています。使用するには、DataWeave コードにインポートする必要があります。たとえば、ヘッダーに行 ​`import dw::util::Diff`​ または ​`import * from dw::util::Diff`​ を追加するなどします。

## [](#関数)関数

<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.3/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.3/dw-diff-types)