Function: looksLikePdf()
looksLikePdf(
bytes):boolean
Defined in: packages/tools/src/web/pdf-text.ts:45
Whether these bytes are a PDF (the %PDF- header within the first kilobyte).
Parameters
bytes
Uint8Array
Returns
boolean
looksLikePdf(
bytes):boolean
Defined in: packages/tools/src/web/pdf-text.ts:45
Whether these bytes are a PDF (the %PDF- header within the first kilobyte).
Uint8Array
boolean