powered by
Tells you if you're dealing with an base, S3, S4, RC, or R6 object.
otype(x)
An object
# NOT RUN { otype(1:10) otype(mtcars) # }
Run the code above in your browser using DataLab