is_named_list: Test for a map-like list

View source: R/config.R

is_named_listR Documentation

Test for a map-like list

Description

TRUE for a list whose elements all have non-empty names, the shape YAML gives a mapping. YAML sequences, scalars and lists with an unnamed element are not map-like.

Usage

is_named_list(x)

Arguments

x

Object to test.

Value

A single logical.


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.