---
schema_version: "1"
id: 679da2aef897826e50c3ae625082c7483290a72480fe80eef9a2e46747e69c26
title: isInteger
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.4/dw-core-functions-isinteger.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.4/dw-core-functions-isinteger
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b8f72f31231e32ab8d810e93e6f8210a98e036d9663a03d552f6bd08f5891000
description: MuleSoft Documentation Site
release: "2.4"
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 ]
```