is_bm_pixmap {bittermelon} | R Documentation |
Test if the object is a pixmap object
Description
is_bm_pixmap()
returns TRUE
for bm_pixmap
objects (or subclasses)
and FALSE
for all other objects.
Usage
is_bm_pixmap(x)
Arguments
x |
An object |
Value
TRUE
or FALSE
See Also
Examples
pm <- bm_pixmap(matrix(c("red", "blue", "green", "black"),
nrow = 2L, byrow = TRUE))
is_bm_pixmap(pm)
[Package bittermelon version 2.0.2 Index]