startsHtmlComment function

bool startsHtmlComment(
  1. String trimmed
)

Whether trimmed opens an HTML comment.

Implementation

bool startsHtmlComment(String trimmed) => trimmed.startsWith('<!--');