isHTML static method

bool isHTML(
  1. String filePath
)

文件是否是HTML

Implementation

static bool isHTML(String filePath) {
  return filePath.toLowerCase().endsWith(".html");
}