R/getClassTypicalFunctionNames.R

Defines functions getClassTypicalFunctionNames

Documented in getClassTypicalFunctionNames

getClassTypicalFunctionNames <- function(object_o_1) {
  on <- getObjectClassKind(object_o_1)
  if (is.na(on)) return(NA)
  switch(on,
         'environment' = vector(mode = 'character', 0),
         'R6' = c('clone'),
         'S3' = vector(mode = 'character', 0),
         'S4' = c('show', 'initialize'),
         'RC' = c("callSuper", "copy", "export", "field", "getClass",
                  "getRefClass", "import", "initFields", "show",  "trace",
                  "untrace", "usingMethods", 'initialize')
  )
}

Try the wyz.code.offensiveProgramming package in your browser

Any scripts or data that you put into this service are public.

wyz.code.offensiveProgramming documentation built on Sept. 25, 2023, 9:05 a.m.