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)

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