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)

Hegghammer/daiR documentation built on Nov. 15, 2024, 10:34 p.m.