.is_named_list {cards}R Documentation

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)

Arguments

x

(any)
object to check

Value

a logical

Examples

cards:::.is_named_list(list(a = 1:3))

[Package cards version 0.6.1 Index]