ibm-cloud-sdk-core
Version:
Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.
56 lines (27 loc) • 670 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) > [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