Home / Function/ annotatedFormat() — astro Function Reference

annotatedFormat() — astro Function Reference

Architecture documentation for the annotatedFormat() function in index.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  81afa77e_0702_34ae_6d58_ddb83c1b77d7["annotatedFormat()"]
  f7d3fd10_bcd7_7c85_17b8_a4feb9026da8["index.ts"]
  81afa77e_0702_34ae_6d58_ddb83c1b77d7 -->|defined in| f7d3fd10_bcd7_7c85_17b8_a4feb9026da8
  b7a701fd_4441_5459_1118_014908ce259d["formatTable()"]
  b7a701fd_4441_5459_1118_014908ce259d -->|calls| 81afa77e_0702_34ae_6d58_ddb83c1b77d7
  style 81afa77e_0702_34ae_6d58_ddb83c1b77d7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/cli/preferences/index.ts lines 324–326

function annotatedFormat(mv: AnnotatedValue) {
	return mv.annotation ? `${mv.value} ${mv.annotation}` : mv.value.toString();
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does annotatedFormat() do?
annotatedFormat() is a function in the astro codebase, defined in packages/astro/src/cli/preferences/index.ts.
Where is annotatedFormat() defined?
annotatedFormat() is defined in packages/astro/src/cli/preferences/index.ts at line 324.
What calls annotatedFormat()?
annotatedFormat() is called by 1 function(s): formatTable.

Analyze Your Own Codebase

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

Try Supermodel Free