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

# isIntersectionType

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

## isIntersectionType(Type): Boolean

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

#### Source

```DataWeave
%dw 2.0
import * from dw::core::Types
type AType = {name: String} & {age: Number}
output application/json
---
{
   a: isIntersectionType(AType),
   b: isIntersectionType(Boolean),
}
```

#### Output

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