is_pdf: Check that a file is PDF

View source: R/utils.R

is_pdfR Documentation

Check that a file is PDF

Description

Checks whether a file is a PDF file.

Usage

is_pdf(file)

Arguments

file

a filepath

Value

a boolean

Examples

## Not run: 
is_pdf("document.pdf")

## End(Not run)

daiR documentation built on Sept. 8, 2023, 5:43 p.m.