---
schema_version: "1"
id: a4be058c054e379e620979f9ff06848d99f9b122b36fd8b63f2fac1910c27b5a
title: isDateType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.4/dw-types-functions-isdatetype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.4/dw-types-functions-isdatetype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 0c18179ab5ebea1944741b6fd86f1b8d2c2b3bec9c50ca4779f4b8ceabb58811
description: MuleSoft Documentation Site
release: "2.4"
latest: false
---
# isDateType

## [](#isdatetype1)isDateType(t: Type): Boolean

入力が Date (日付) 型の場合は ​`true`​ を返します。

_DataWeave バージョン 2.3.0 で導入されました。_​

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

<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>t</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">チェックするデータ型。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

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

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

```DataWeave
%dw 2.0
import * from dw::core::Types
type ADate = Date
output application/json
---
{
   a: isDateType(ADate),
   b: isDateType(Date),
   c: isDateType(String),
}
```

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

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