R/has_methods.R

Defines functions has_active_team

Documented in has_active_team

#' @title Active Team Predicate
#' @description Function to check whether team values exist.
#' @return logical
#' @rdname has_methods
#' @concept management
#' @export
has_active_team <- function() {
  team <- .slack$activeteam

  !is.null(team) && !is.na(team)
}
yonicd/slackteams documentation built on March 13, 2023, 6:26 a.m.