Skip to contents

Markdown supports header levels 1-7 (<H1>-<H7>).

Usage

isHeaderLevel(x)

Arguments

x

Object.

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2023-09-29.

Examples

## TRUE ====
isHeaderLevel(1)
#> [1] TRUE

## FALSE ====
isHeaderLevel(0)
#> [1] FALSE