---
schema_version: "1"
id: c6eb91ca8803b9f9a3409e935929835a74eaa45c73ee983ade6e617baf7ff1eb
title: isInteger
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-core-functions-isinteger.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-core-functions-isinteger
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 9f22856baff45f2dd135e583452e30587a20d174b496adce8d7cae6b16d8d36d
description: MuleSoft Documentation Site
release: "2.7"
latest: false
---
# isInteger

## [](#isinteger1)isInteger(number: 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
---
[isInteger(1), isInteger(2.0), isInteger(2.2), isInteger("1")]
```

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

```JSON
[ true, true, false, true ]
```