---
schema_version: "1"
id: 1a9c9e111a9134440a459fb5d99ec6a883a828283e200b431b9de1fe65b104a1
title: everyEntry
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.3/dw-objects-functions-everyentry.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.3/dw-objects-functions-everyentry
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 35c6c99af2e6ab10dabb0a077199fcebbbda17eb9bd58a64f879a5ce06a61f5b
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
# everyEntry

## [](#everyentry1)everyEntry(Object, (value: Any, key: Key) -> Boolean): Boolean

オブジェクト内のすべてのエントリが条件に一致すると ​`true`​ を返します。

この関数は、オブジェクト内の要素が最初に不一致と評価されたところで反復を停止します。

_DataWeave 2.3.0 で導入されました。Mule 4.3 以降でサポートされます。_​

### [](#パラメーター)パラメーター

<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">​<code>object</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">評価するオブジェクト。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">​<code>condition</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">各要素に適用する条件。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、さまざまな入力での ​`everyEntry`​ の動作を示します。

#### [](#ソース)ソース

```DataWeave
%dw 2.0
import everyEntry from dw::core::Objects
output application/json
---
{
    a: {} everyEntry (value, key) -> value is String,
    b: {a: "", b: "123"} everyEntry (value, key) -> value is String,
    c: {a: "", b: 123} everyEntry (value, key) -> value is String,
    d: {a: "", b: 123} everyEntry (value, key) -> key as String == "a",
    e: {a: ""} everyEntry (value, key) -> key as String == "a",
    f: null everyEntry ((value, key) -> key as String == "a")
}
```

#### [](#出力)出力

```Json
{
  "a": true,
  "b": true,
  "c": false,
  "d": false,
  "e": true,
  "f": true
}
```

## [](#everyentry2)everyEntry(Null, (Nothing, Nothing) -> Boolean): Boolean

`everyEntry`​ を ​`null`​ 値に使用できるようにするヘルパー関数。

_DataWeave 2.3.0 で導入されました。Mule 4.3 以降でサポートされます。_