modules_depth: Get module depth

View source: R/modules.R

modules_depthR Documentation

Get module depth

Description

Depth starts at 0, so a single teal.module has depth 0. Nesting it increases overall depth by 1.

Usage

modules_depth(modules, depth = 0L)

Arguments

modules

(list or teal_modules or teal_module) nested list of teal_modules or teal_module objects or a single teal_modules or teal_module object. These are the specific output modules which will be displayed in the teal application. See modules() and module() for more details.

depth

optional, integer determining current depth level

Value

Depth level for given module.


teal documentation built on May 29, 2024, 10:11 a.m.