R/coerce.R
vec_ptype2.palette.Rd
Coercion methods for vctrs::vec_ptype2()
vctrs::vec_ptype2()
# S3 method for palette vec_ptype2(x, y, ...)
Vector types.
These dots are for future extensions and must be empty.
a vector of the same length, as class palette if convertible, otherwise character
palette
character