---
schema_version: "1"
id: 9cbd4b7b13dc7ba8d36970c233e2dd54b1b53c457c7e4c00339449a3619d1b1a
title: isObjectType
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.3/dw-types-functions-isobjecttype.md
canonical_url: https://docs.mulesoft.com/dataweave/2.3/dw-types-functions-isobjecttype
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 0555b02f9b734e1a9d3f7f581f9ddbeb08f6a070fff8ced40aad4470fa70526f
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
---
product: DataWeave
version: 2.3
---

# isObjectType

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

## isObjectType(Type): Boolean

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

#### Source

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

#### Output

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