after_thing: Check if a node is after another node

View source: R/utils.R

after_thingR Documentation

Check if a node is after another node

Description

Check if a node is after another node

Usage

after_thing(body, thing = "code_block")

Arguments

body

an XML node

thing

the name of the XML node for the node to be after, defaults to "code_block"

Value

a single boolean value indicating if the node has a single sibling that is a code block


zkamvar/up2code documentation built on Feb. 24, 2025, 7:32 a.m.