is_bm_font: Test if the object is a bitmap font object

View source: R/bm_font.R

is_bm_fontR Documentation

Test if the object is a bitmap font object

Description

is_bm_font() returns TRUE for bm_font objects (or subclasses) and FALSE for all other objects.

Usage

is_bm_font(x)

Arguments

x

An object

Value

TRUE or FALSE

See Also

bm_font()

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.