list_extract_spec: Make sure that the extract specification is in list format
Description
![[Stable]](figures/lifecycle-stable.svg?package=teal.transform&version=0.6.0)
Usage
list_extract_spec(x, allow_null = FALSE)
Value
x as a list if it is not already.
Arguments
- x
(data_extract_spec or list) of data_extract_spec elements.
- allow_null
(logical) whether x can be NULL.