is_bm_bitmap {bittermelon} | R Documentation |
is_bm_bitmap()
returns TRUE
for bm_bitmap
objects (or subclasses)
and FALSE
for all other objects.
is_bm_bitmap(x)
x |
An object |
TRUE
or FALSE
space_matrix <- matrix(0L, nrow = 16L, ncol = 16L)
is_bm_bitmap(space_matrix)
space_glyph <- bm_bitmap(space_matrix)
is_bm_bitmap(space_glyph)