dot-checkSection: Check for a section existence in a nested list

.checkSectionR Documentation

Check for a section existence in a nested list

Description

Check for a section existence in a nested list

Usage

.checkSection(object, sectionNames)

Arguments

object

list to inspect

sectionNames

vector or characters with sectio names to check for

Value

logical indicating whether the sections where found in the list

Examples

l = list(a=list(b="test"))
.checkSection(l,c("a","b"))
.checkSection(l,c("c","b"))

pepr documentation built on Nov. 21, 2023, 5:06 p.m.