---
url: 'https://adk.nht.io/api/@nhtio/adk/common/functions/isTextual.md'
---

# Function: isTextual()

```ts
function isTextual(mime: string): boolean;
```

Defined in: [src/lib/mime/is\_textual.ts:2](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/lib/mime/is_textual.ts#L2)

Whether a MIME type represents text that can be handled as markup or plain text.

## Parameters

| Parameter | Type     |
| --------- | -------- |
| `mime`    | `string` |

## Returns

`boolean`
