Depth starts at 0, so a single teal.module has depth 0.
Nesting it increases overall depth by 1.
modules_depth(modules, depth = 0L)Depth level for given module.
(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.
optional integer determining current depth level