R/internal_lc_df.R

Defines functions internal_lc_df

#' Convert upper-case English characters to lower-case
#'
#' @description
#' Convert upper-case English characters to lower-case.
#'
#' @usage
#' internal_lc_df(x)
#'
#' @param x A vector.
#'
#' @return
#' A vector of the same length as \code{x}.
#' 
#' @noRd

internal_lc_df <- function(x) {

  if (is.character(x = x) == TRUE) {

    tolower(x = x)

  } else if (is.character(x = x) == FALSE) {

    x

    }

}
zhaoy/zhaoy documentation built on Feb. 1, 2024, 7:50 p.m.