<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [isHTML](./ibm-cloud-sdk-core.ishtml.md)

## isHTML() function

Return true if 'text' is html

**Signature:**

```typescript
export declare function isHTML(text: string): boolean;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

text


</td><td>

string


</td><td>

The 'text' to analyze


</td></tr>
</tbody></table>
**Returns:**

boolean

true if 'text' has html tags

