Learn R Programming

cards (version 0.3.0)

.is_named_list: Named List Predicate

Description

A predicate function to check whether input is a named list and not a data frame.

Usage

.is_named_list(x, allow_df = FALSE)

Value

a logical

Arguments

x

(any)
object to check

Examples

Run this code
cards:::.is_named_list(list(a = 1:3))

Run the code above in your browser using DataLab