---
schema_version: "1"
id: 7f7c402cc30f6cc5a069a8b06cc77acb8825e2aa6e51059a7da2516448f4bb77
title: isLocalDateTimeType
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.4/dw-types-functions-islocaldatetimetype.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.4/dw-types-functions-islocaldatetimetype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: a7cb3693d72d87f9b00ad5c8d7be787c4e891909943df0ae42372f0c590bed10
description: MuleSoft Documentation Site
release: "2.4"
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
}
```