is_bm_list: Test if the object is a bitmap glyph list object

View source: R/bm_list.R

is_bm_listR Documentation

Test if the object is a bitmap glyph list object

Description

is_bm_list() returns TRUE for bm_list() objects (or subclasses) and FALSE for all other objects.

Usage

is_bm_list(x)

Arguments

x

An object

Value

TRUE or FALSE

See Also

bm_list()

Examples

 font_file <- system.file("fonts/spleen/spleen-8x16.hex.gz", package = "bittermelon")
 font <- read_hex(font_file)
 is_bm_font(font)

bittermelon documentation built on Feb. 16, 2023, 8:08 p.m.