class(x)[1]
R/getClass1.R
getClass1.Rd
Returns the first class of an object.
getClass1(x)
[any] Input object.
[character(1)].
character(1)
getClass is a function in methods. Do not confuse.
getClass
methods