FM_fetch_mod_state: Fetch the Module State

View source: R/formods.R

FM_fetch_mod_stateR Documentation

Fetch the Module State

Description

Fetches the module state from the userdata under the specified id

Usage

FM_fetch_mod_state(session, id)

Arguments

session

Shiny session variable.

id

ID string for the module.

Value

module state or NULL if it's not defined.

Examples

# We need a Shiny session variable to use this function:
sess_res = UD_test_mksession()
session = sess_res$session
state = FM_fetch_mod_state(session, "UD")

formods documentation built on April 12, 2025, 1:57 a.m.