is_bm_bitmap: Test if the object is a bitmap object

View source: R/is_bm_matrix.R

is_bm_bitmapR 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

bm_bitmap()

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)

trevorld/bittermelon documentation built on Dec. 24, 2024, 10:33 p.m.