is_color {prismatic}R Documentation

Test if the object is a color

Description

Test if the object is a color

Usage

is_color(x)

Arguments

x

An object

Value

TRUE if the object inherits from the color class.


[Package prismatic version 1.1.2 Index]