is_flattenable: Test if a list is flattenable.

View source: R/utils.R

is_flattenableR Documentation

Test if a list is flattenable.

Description

Usually combined with 'rlang::flatten_if' or 'YFAR::.unlist_and_bind'

Usage

is_flattenable(x)

Arguments

List

to test.

Details

This function is from 'dplyr::bind_rows' so all credit to those cats and none to me what-so-ever. I hope this is placeholder credit until I learn how to cite this properly.

Value

A boolean.


macraesdirtysocks/YFAR documentation built on March 20, 2022, 2:07 a.m.