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

# 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
}
```
