UNPKG
is-html
Version:
latest (3.2.0)
3.2.0
3.1.0
3.0.0
2.0.0
1.1.0
1.0.0
0.2.2
0.2.1
0.1.1
0.1.0
Check if a string is HTML
github.com/sindresorhus/is-html
sindresorhus/is-html
is-html
/
index.d.ts
8 lines
(6 loc)
•
201 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** Check
if
a
string
is
HTML. @param
string
- The
string
to
check
if
it
is
HTML. @returns `
true
`
if
the
string
is
HTML, `
false
` otherwise. */ export
default
function
isHtml(
string
:
string
):
boolean
;