R/ggpairs_add.R
is_ggmatrix.Rd
Check if an object is a ggmatrix
is_ggmatrix(x)
An object to check
Logical value indicating if the object is a ggmatrix
ggmatrix
is_ggmatrix(ggpairs(mtcars)) #> [1] TRUE is_ggmatrix(ggplot2::ggplot()) #> [1] FALSE