R/type.R
new_pillar_type.Rd
Calls type_sum() to format the type. Call format() on the result to render column types.
type_sum()
format()
new_pillar_type(x, ...)
A vector for which the type is to be retrieved.
These dots are for future extensions and must be empty.
format(new_pillar_type("a")) #> [1] "\033[3m\033[38;5;246m<chr>\033[39m\033[23m" format(new_pillar_type(factor("a"))) #> [1] "\033[3m\033[38;5;246m<fct>\033[39m\033[23m"