is_hex: Identify if a passed color is a hexadecimal string

View source: R/utils.R

is_hexR Documentation

Identify if a passed color is a hexadecimal string

Description

Identify if a passed color is a hexadecimal string

Usage

is_hex(col_str = "")

Arguments

col_str

The potentially-hexadecimal string to check

Value

A boolean indicating if the string is in fact hexadecimal


sportsdataverse/sportyR documentation built on Feb. 17, 2024, 9:44 p.m.