is_bm_bitmap {bittermelon} | R Documentation |
Test if the object is a bitmap object
Description
is_bm_bitmap()
returns TRUE
for bm_bitmap
objects (or subclasses)
and FALSE
for all other objects.
Usage
is_bm_bitmap(x)
Arguments
x |
An object |
Value
TRUE
or FALSE
See Also
Examples
space_matrix <- matrix(0L, nrow = 16L, ncol = 16L)
is_bm_bitmap(space_matrix)
space_glyph <- bm_bitmap(space_matrix)
is_bm_bitmap(space_glyph)
[Package bittermelon version 2.0.2 Index]