Strip the class part of attached S3 methods (do nothing with other functions).

s3_strip_class(x)

Arguments

x

A character vector giving candidate S3 methods.

Value

Character.

See also

utils::isS3method()

Examples

s3_strip_class(c("print", "print.factor", "print.data.frame"))
#> [1] "print" "print" "print"