object_type | R Documentation |
Extract the class (or type) of an object for use in error messages.
object_type(x)
x |
An object to test. |
A length-1 character vector describing the class of the object.
object_type("a")
object_type(1L)
object_type(1.1)
object_type(mtcars)
object_type(rlang::quo(something))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.