is_bm_pixmap {bittermelon} | R Documentation |
is_bm_pixmap()
returns TRUE
for bm_pixmap
objects (or subclasses)
and FALSE
for all other objects.
is_bm_pixmap(x)
x |
An object |
TRUE
or FALSE
pm <- bm_pixmap(matrix(c("red", "blue", "green", "black"),
nrow = 2L, byrow = TRUE))
is_bm_pixmap(pm)