R: Create list_of subclass

new_list_of {vctrs} | R Documentation

## Create list_of subclass

### Description

Create list_of subclass

### Usage

    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

[Package vctrs version 0.2.4 Index]