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


carpentries/pegboard documentation built on Nov. 13, 2024, 8:53 a.m.