is_pdf: Check that a file is PDF

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Checks whether a file is a PDF file.

Usage

1

Arguments

file

a filepath

Value

a boolean

Examples

1
2
3
4
## Not run: 
is_pdf("document.pdf")

## End(Not run)

daiR documentation built on June 11, 2021, 5:16 p.m.