vld_color {tinter}R Documentation

Validate Color String

Description

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

Usage

vld_color(x)

vld_colour(x)

Arguments

x

The object to check.

Value

A flag indicating whether the object was validated.

Functions

See Also

chk_color()

Examples


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

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

[Package tinter version 0.1.0 Index]