Function isFilePdf

  • Checks if the given file is a PDF.

    Parameters

    • file: MwFile

      The file to check.

    Returns boolean

    true if the file is a PDF, otherwise false.