what_is_it: What Kind of Object is This?

View source: R/what.R

what_is_itR Documentation

What Kind of Object is This?

Description

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

Usage

what_is_it(x)

Arguments

x

Any R object

Default value

none

Value

A character description of the type of x

Examples

what_is_it("abc")
what_is_it(1L)
what_is_it(1:10)
what_is_it(mtcars)

admiraldev documentation built on June 26, 2025, 1:09 a.m.