Skip to contents

Does this text end in the specified filetype?

Usage

is_filetype_path(x, filetype, ignore.case = TRUE)

Arguments

x

A character vector to check for matches, or an object which can be coerced by as.character() to a character vector.

filetype

A file extension (or multiple file extensions) to compare to x. Required.

ignore.case

if FALSE, the pattern matching is case sensitive and if TRUE, case is ignored during matching.