powered by
Check for a section existence in a nested list
.checkSection(object, sectionNames)
logical indicating whether the sections where found in the list
list to inspect
vector or characters with sectio names to check for
l = list(a=list(b="test")) .checkSection(l,c("a","b")) .checkSection(l,c("c","b"))
Run the code above in your browser using DataLab