Function hasSourceText

  • Checks if a PDF contains source text.

    Parameters

    • pdfData: Buffer

      Buffer representing the content of the PDF file.

    Returns Promise<boolean>

    A Promise containing a boolean indicating if the PDF has source text.