R/help_functions.R

Defines functions nullToNA

#' Help functions to perform basic tasks
#'
#' Simple functions to do stuff
#'
#' @keywords internal
#' @family help functions
#' @noRd
nullToNA <- function(x){
  return(ifelse(is.null(x), NA, x))
}
lynuhs/MondayR documentation built on Feb. 22, 2021, 10:20 a.m.