new_list_of: Create list_of subclass

Description Usage Arguments

View source: R/type-list-of.R

Description

Create list_of subclass

Usage

1
new_list_of(x = list(), ptype = logical(), ..., class = character())

Arguments

x

A list

ptype

The prototype which every element of x belongs to

...

Additional attributes used by subclass

class

Optional subclass name


vctrs documentation built on April 29, 2021, 5:08 p.m.