obj_list: Create an empty named list

View source: R/helpers.R

obj_listR Documentation

Create an empty named list

Description

A helper function to construct an empty list which converts to a JSON object rather than a JSON array.

Usage

obj_list(...)

Arguments

...

A variable number of list entries.

Value

An empty named list.

Examples

default_window <- obj_list(
  min = 0,
  max = 255
)

keller-mark/vitessce-htmlwidget documentation built on Oct. 4, 2023, 2:30 a.m.