Skip to contents

Returns a string describing what kind of object the input is.

Usage

what_is_it(x)

Arguments

x

Any R object

Value

A character description of the type of x

Examples

what_is_it("abc")
#> [1] "`\"abc\"`"
what_is_it(1L)
#> [1] "`1`"
what_is_it(1:10)
#> [1] "an integer vector"
what_is_it(mtcars)
#> [1] "a data frame"