is_bm_bitmap: Test if the object is a bitmap glyph object

Description Usage Arguments Value See Also Examples

View source: R/bm_bitmap.R

Description

is_bm_bitmap() returns TRUE for bm_bitmap objects (or subclasses) and FALSE for all other objects.

Usage

1

Arguments

x

An object

Value

TRUE or FALSE

See Also

bm_bitmap()

Examples

1
2
3
4
 space_matrix <- matrix(0L, nrow = 16L, ncol = 16L)
 is_bm_bitmap(space_matrix)
 space_glyph <- bm_bitmap(space_matrix)
 is_bm_bitmap(space_glyph)

bittermelon documentation built on Nov. 2, 2021, 1:06 a.m.