check-scalar-isHeaderLevel: Does the input contain a Markdown header level?

check-scalar-isHeaderLevelR Documentation

Does the input contain a Markdown header level?

Description

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)

## FALSE ====
isHeaderLevel(0)

steinbaugh/goalie documentation built on Jan. 17, 2024, 5:16 p.m.