powered by
Checks whether a file is a PDF file.
is_pdf(file)
a boolean
a filepath
if (FALSE) { is_pdf("document.pdf") }
Run the code above in your browser using DataLab