---
schema_version: "1"
id: 42eaf5725295edb7b8e67c51505ff2f5594ea9bcb64e645767104f40db7ae3a5
title: isTypeType
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.6/dw-types-functions-istypetype.md
canonical_url: https://docs.mulesoft.com/dataweave/2.6/dw-types-functions-istypetype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: f09e3eeff65f0980a62fd0eccd6adbf3586f7ef9dde4322ef78b2a6e6fea0a69
description: MuleSoft Documentation Site
release: "2.6"
latest: false
---
---
product: DataWeave
version: 2.6
---

# isTypeType

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

## isTypeType(t: Type): Boolean

Returns `true` if the input is the Type 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 `isTypeType` behaves with different inputs.

#### Source

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

#### Output

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