This function checks if a value is a list.
By default, definition of a 'list' excludes data.frames in spite of them technically being lists.
This behaviour can be changed by setting include_dataframes = TRUE
Usage
is_list(x, include_dataframes = FALSE)
Value
A logical scalar indicating whether x is a list.
Arguments
x
A value to check.
include_dataframes
A logical indicating whether data_frames should be considered vectors. Default is FALSE.