Call format() on the result to render column types.

new_pillar_type(x, ...)

Arguments

x

A vector for which the type is to be retrieved.

...

Unused.

Examples

format(new_pillar_type(iris$Species))
#> [1] "\033[3m\033[38;5;246m<fct>\033[39m\033[23m"