R/isnot_na.r

Defines functions isnot_na

Documented in isnot_na

#' Conditional check if a value is not a NA
#'
#' @description Return TRUE if the value is not a NA.
#'
#' @eval arg_vector("x","")
#'
#' @return A boolean vector with the return from the condition check.
#'
#' @export
#'
#' @examples
#'
#' isnot_na(2)
#'
#' isnot_na(NA)
#'

isnot_na <- function(x){

  !is.na(x)

}
vbfelix/relper documentation built on May 10, 2024, 10:50 p.m.