is_colour: Check that a string is a valid colour representation

View source: R/utils.R

is_colourR 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)

Hegghammer/daiR documentation built on Nov. 15, 2024, 10:34 p.m.