powered by
Validates whether x is a string (non-missing character vector of length 1) that specifies a color.
vld_color(x)vld_colour(x)
vld_colour(x)
The object to check.
A flag indicating whether the object was validated.
vld_color: Validate Color String
vld_color
vld_colour: Validate Colour String
vld_colour
chk_color()
# NOT RUN { # vld_color vld_color("blue") vld_color("glue") # vld_color vld_colour("blue") vld_colour("glue") # }
Run the code above in your browser using DataLab