infer::text

Function is_html

Source
pub fn is_html(buf: &[u8]) -> bool
Expand description

Returns whether a buffer is html data.

Conforms to whatwg specification.