Home / Function/ getToc() — ui Function Reference

getToc() — ui Function Reference

Architecture documentation for the getToc() function in toc.ts from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  ab0af873_ee0e_b9fd_5588_3ff6e1e9e635["getToc()"]
  6b69cecd_f6b0_5bf0_19b4_7a9032d5992d["toc.ts"]
  ab0af873_ee0e_b9fd_5588_3ff6e1e9e635 -->|defined in| 6b69cecd_f6b0_5bf0_19b4_7a9032d5992d
  b8a67de8_cd12_9398_3f13_642e9b187213["getItems()"]
  ab0af873_ee0e_b9fd_5588_3ff6e1e9e635 -->|calls| b8a67de8_cd12_9398_3f13_642e9b187213
  style ab0af873_ee0e_b9fd_5588_3ff6e1e9e635 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/lib/toc.ts lines 66–71

const getToc = () => (node, file) => {
  const table = toc(node)
  const items = getItems(table.map, {})

  file.data = items
}

Subdomains

Calls

Frequently Asked Questions

What does getToc() do?
getToc() is a function in the ui codebase, defined in deprecated/www/lib/toc.ts.
Where is getToc() defined?
getToc() is defined in deprecated/www/lib/toc.ts at line 66.
What does getToc() call?
getToc() calls 1 function(s): getItems.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free