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

# isLocalDateTimeType

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

## isLocalDateTimeType(Type): Boolean

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

_Introduced in DataWeave 2.3.0. Supported by Mule 4.3 and later._

### Parameters

<table><colgroup><col> <col></colgroup><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><p>t</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
}
```
