IsColor: Is Color

View source: R/seqNdisplayR.R

IsColorR Documentation

Is Color

Description

Internal function: Helper function that determines whether input (vector) is a color

Usage

IsColor(put_color_vector)

Arguments

put_color_vector

putative vector of colors

Author(s)

SLA (with help from https://stackoverflow.com/questions/13289009/check-if-character-string-is-a-valid-color-representation/13290832#13290832)

Examples

IsColor('black')
IsColor('white')
IsColor('gnyf')
IsColor(c('white', 'blue', 'gnyf'))
IsColor('#0098AD')


THJlab/seqNdisplayR documentation built on March 29, 2024, 1:36 p.m.