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


sportyR documentation built on July 9, 2023, 5:49 p.m.