otype: Determine the type of an object

View source: R/otype.R

otypeR Documentation

Determine the type of an object

Description

Tells you if you're dealing with an base, S3, S4, RC, or R6 object.

Usage

otype(x)

Arguments

x

An object

Examples

otype(1:10)
otype(mtcars)

r-lib/sloop documentation built on Nov. 4, 2023, 4:20 a.m.