Check whether an object is of the class ggplot.

is_ggplot(obj)

Arguments

obj

Any R object.

Value

Boolean.

Examples

bool <- echodata::is_ggplot(mtcars)