Skip to contents

Prints the class name of an object with nice formatting using cli.

Usage

ospPrintClass(x)

Arguments

x

An R object

Value

Invisibly returns the input object

See also

Other print functions: ospPrintHeader(), ospPrintItems()

Examples

# Print class name of a data frame
ospPrintClass(iris)
#> <data.frame>