Does this text end in the specified filetype?
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 ifTRUE, case is ignored during matching.