Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak/utils/type_guards.ts>isHtml

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Go to Latest
function isHtml
import { isHtml } from "https://deno.land/x/oak@v17.0.0/utils/type_guards.ts";

Determines if a string "looks" like HTML

Parameters

value: string

Returns

boolean