Learn R Programming

daiR (version 1.0.0)

is_pdf: Check that a file is PDF

Description

Checks whether a file is a PDF file.

Usage

is_pdf(file)

Value

a boolean

Arguments

file

a filepath

Examples

Run this code
if (FALSE) {
is_pdf("document.pdf")
}

Run the code above in your browser using DataLab