---
schema_version: "1"
id: cee82257964184e658b065f9d18858587b6bdd9c9207ebd887c8c9390cbdb20e
title: isEven
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.3/dw-core-functions-iseven.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.3/dw-core-functions-iseven
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 33865a8e7a6656b85968dacd4ea7e2a58901d31ada1bf3627c35df696a65fce0
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
# isEven

## [](#iseven1)isEven(Number): Boolean

数値または算術演算の数値結果が偶数の場合は ​`true`​ を返し、それ以外の場合は ​`false`​ を返します。

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

<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>number</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">評価する数値。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、数値および演算の結果が偶数かどうかを示します。

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

```DataWeave
%dw 2.0
output  application/json
---
{ "isEven" : [ isEven(0), isEven(1), isEven(1+1) ] }
```

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

```JSON
{ "isEven" : [ true, false, true ] }
```