---
schema_version: "1"
id: cb21aec29c7c13176cf49575f2ccceda9d5326dc11434ce3920addc1345cacc5
title: isTimeType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-types-functions-istimetype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-types-functions-istimetype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 3c2328acaf4719299e4141171ed2f9e3e4bfe370e7c9aca55b150ae9c95afc05
description: MuleSoft Documentation Site
release: "2.7"
latest: false
---
# isTimeType

## [](#istimetype1)isTimeType(t: Type): Boolean

入力が Time (時刻) 型の場合は ​`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>

### [](#例)例

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

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

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

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

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