assert_named_list: Assert that an object is a list, and that all top level items...

View source: R/assertions.R

assert_named_listR Documentation

Assert that an object is a list, and that all top level items have names

Description

Assert that an object is a list, and that all top level items have names

Usage

assert_named_list(x, allow_data_frame = FALSE)

Arguments

x

[list] object to be checked

Value

none

Examples

assert_named_list(list(a = 1, b = 2))

epi-sam/SamsElves documentation built on June 12, 2025, 7 a.m.