---
title: isSafeHtml
source: https://github.com/remix-run/remix/blob/remix@3.0.0-beta.3/packages/html-template/src/lib/safe-html.ts#L21
---

# isSafeHtml

## Summary

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

## Signature

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

```

## Parameters

### `value`

The value to check

## Returns

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