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 April 12, 2025, 1:39 a.m.