| check-vector-isHexColor | R Documentation |
Does the input contain hexadecimal colors?
isHexColor(x)
allAreHexColors(x)
x |
Object. |
TRUE on success;
FALSE on failure, with cause set.
isHexColor(): Vectorized.
allAreHexColors(): Scalar.
Updated 2023-10-02.
assertive::is_hex_color().
## TRUE ====
x <- viridis::viridis(n = 2L)
class(x)
print(x)
isHexColor(x)
## FALSE ====
x <- ggplot2::scale_color_manual
class(x)
isHexColor(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.