vld_color: Validate Color String

Description Usage Arguments Value Functions See Also Examples

View source: R/vld.R

Description

Validates whether x is a string (non-missing character vector of length 1) that specifies a color.

Usage

1
2
3

Arguments

x

The object to check.

Value

A flag indicating whether the object was validated.

Functions

See Also

chk_color()

Examples

1
2
3
4
5
6
7
# vld_color
vld_color("blue")
vld_color("glue")

# vld_color
vld_colour("blue")
vld_colour("glue")

tinter documentation built on April 19, 2020, 4:15 p.m.