R/getAttributeNames.R

Defines functions getAttributeNames

Documented in getAttributeNames

#' Helper function for determining the vector of attribute names
#' of a given object.
#'
#' @param obj [\code{mixed}]\cr
#'   Source object.
#' @return [\code{character}]
#'   Vector of attribute names for the source object.
#' @export
getAttributeNames = function(obj) {
  return(names(attributes(obj)))
}
jakobbossek/JBmisc documentation built on May 18, 2019, 9:08 a.m.