Skip to contents

A way of defining state for a shiny application. Alternative to shiny::reactiveValues().

Usage

state(value = NULL, type = NULL, allow_null = FALSE)

Arguments

value

Initial value of the state

type

The expected class

allow_null

Is it allowed for the value to be NULL?