---
schema_version: "1"
id: 49d0fb2110d024b07653399d64e78d4935d598b42724ade259f04b789c91b81a
title: isLocalDateTimeType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.5/dw-types-functions-islocaldatetimetype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.5/dw-types-functions-islocaldatetimetype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: edb35c83aaf02ffadfbca99aadc9d39c70391b644a71a0f2150bf58d761c7b1c
description: MuleSoft Documentation Site
release: "2.5"
latest: false
---
# isLocalDateTimeType

## [](#islocaldatetimetype1)isLocalDateTimeType(t: Type): Boolean

入力が LocalDateTime (ローカル日時) 型の場合は ​`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>

### [](#例)例

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

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

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

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

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