struct_flatten: Ensure 'struct_list' is a flat list of 'structs'

View source: R/standalone-struct-list.R

struct_flattenR Documentation

Ensure 'struct_list' is a flat list of 'structs'

Description

Unlike 'purrr::list_flatten' this is recursive for one reason which is that a 'struct_list' must only contain 'structs'.

Usage

struct_flatten(x)

Arguments

x

a potentially nested list of 'struct_lists'.

Value

a flat 'struct_list' of 'structs'


terminological/ggrrr documentation built on June 15, 2024, 6:35 a.m.