is_colour {daiR} | R Documentation |
Check that a string is a valid colour representation
Description
Checks whether a string is a valid colour representation.
Usage
is_colour(x)
Arguments
x |
a string |
Value
a boolean
Examples
## Not run:
is_colour("red")
is_colour("#12345")
## End(Not run)
[Package daiR version 1.0.0 Index]