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

# isAnyType

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

## isAnyType(Type): Boolean

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

#### Source

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

#### Output

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