R/unhcr_color_util.R
isCol.Rd
Helper function to detect any color (in an individual character string)
isCol(color)
ipda | unhcr.org | 2020
{ isCol("white") isCol(col2hex("black", alpha = 255/2)) isCol(NA) isCol("bumblebee") # BUT note: isCol(col2rgb("white")) # => FALSE FALSE FALSE } #> [1] FALSE FALSE FALSE