powered by
is_bm_pixmap() returns TRUE for bm_pixmap objects (or subclasses) and FALSE for all other objects.
is_bm_pixmap()
TRUE
bm_pixmap
FALSE
is_bm_pixmap(x)
TRUE or FALSE
An object
bm_pixmap(), as_bm_pixmap()
bm_pixmap()
as_bm_pixmap()
pm <- bm_pixmap(matrix(c("red", "blue", "green", "black"), nrow = 2L, byrow = TRUE)) is_bm_pixmap(pm)
Run the code above in your browser using DataLab