Function: isHTML

isHTML(str): boolean

是否为 HTML 标签

Parameters

Name Type Description
str string 需要检查的字符串

Returns

boolean

是否为HTML标签

Since

1.2.4

Example

isHTML('<p>123</p>');
// => true
ON THIS PAGE