Learn R Programming

cards (version 0.3.0)

.is_list_column_of_scalars: List Column as a Vector Predicate

Description

A predicate function to check whether a column is a list and can be represented as a vector.

Usage

.is_list_column_of_scalars(x)

Value

a logical

Arguments

x

(any)
column to check

Examples

Run this code
cards:::.is_list_column_of_scalars(as.list(1:5))

Run the code above in your browser using DataLab