isPpt static method

bool isPpt(
  1. String? s
)

验证是否为 PPT 演示文稿名(.ppt/.pptx)。

Implementation

static bool isPpt(String? s) =>
    s != null && s.isNotEmpty && _pptRegExp.hasMatch(s);