---
title: isSafeHtml
---

# isSafeHtml

<a href="https://github.com/remix-run/remix/blob/remix@3.0.0-alpha.6/packages/html-template/src/lib/safe-html.ts#L21" target="_blank">View Source</a>

## Summary

Checks if a value is a SafeHtml string.

## Signature

```ts
function isSafeHtml(value: unknown): value is SafeHtml;

```

## Params

### value

The value to check

## Returns

`true` if the value is a [`SafeHtml`](/api/remix/html-template/type/SafeHtml/) string