---
schema_version: "1"
id: c846e831c02e5f51b5033a3340c28a8a95dee8a0fd201c9cb6b76e05a07a8c9d
title: isLocalDateTimeType
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.11/dw-types-functions-islocaldatetimetype.md
canonical_url: https://docs.mulesoft.com/dataweave/2.11/dw-types-functions-islocaldatetimetype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 899a34a2bcf091ae64204cd2045dd27ce81e1a2db5b1c7e35592997a56d92ab6
description: MuleSoft Documentation Site
release: "2.11"
latest: false
---
---
product: DataWeave
version: 2.11
---

# isLocalDateTimeType

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## isLocalDateTimeType(t: Type): Boolean

Returns `true` if the input is the LocalDateTime type.

_Introduced in DataWeave version 2.3.0._

### Parameters

<table><colgroup><col> <col></colgroup><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><p><code>t</code></p></td><td><p>The type to check.</p></td></tr></tbody></table>

### Example

This example shows how `isLocalDateTimeType` behaves with different inputs.

#### Source

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

#### Output

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