is_color: Checks whether an object belongs to class "color"

Description Usage Arguments Value Examples

Description

Checks whether an object belongs to class "color"

Usage

1

Arguments

x

The object to be checked.

Value

A logical indicating whether x is a class "color" object.

Examples

1
2
3
is_color(3)
is_color("red")
is_color(color("red"))

dpcarballo/coloR documentation built on June 1, 2019, 8:14 p.m.