R/is_wav_fname.R

Defines functions is_wav_fname

Documented in is_wav_fname

#' Determine if file is a .wav
#'
#' Checks to see if the filename supplied is a .wav file
#' @param fname filename of a .wav sound file
#' @importFrom stringr str_detect
#' @export
is_wav_fname <- function(fname) {
  stringr::str_detect(fname, "\\.wav$")
}
wolfm4ne/geekr documentation built on Oct. 3, 2023, 4:44 p.m.