R/plots.R
is.ggplot.color.Rd
Judge if a characteristic is Rcolor
is.ggplot.color(color)
characteristic
TRUE or FALSE
is.ggplot.color("red") #> [1] TRUE is.ggplot.color("notcolor") #> [1] FALSE is.ggplot.color(NA) #> [1] TRUE is.ggplot.color("#000") #> [1] FALSE