R/color.R
is_color.Rd
Test if object is a color
is_color(x)
An object to test.
A logical.
is_color("not a color") #> [1] FALSE