class(x)[1]
Wrapper for class(x)[1].
getClass1(x)
x
[any] Input object.
[character(1)].
character(1)
getClass is a function in methods. Do not confuse.
getClass
methods