Home / Function/ preferenceEnabled() — astro Function Reference

preferenceEnabled() — astro Function Reference

Architecture documentation for the preferenceEnabled() function in messages.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  03b0c533_2839_53d1_1e18_2681d5241e4e["preferenceEnabled()"]
  a89de736_d85a_fc8a_68a9_5d9ea54128d5["messages.ts"]
  03b0c533_2839_53d1_1e18_2681d5241e4e -->|defined in| a89de736_d85a_fc8a_68a9_5d9ea54128d5
  style 03b0c533_2839_53d1_1e18_2681d5241e4e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/messages.ts lines 115–117

export function preferenceEnabled(name: string) {
	return `${green('◉')} ${name} is now ${bgGreen(black(' enabled '))}\n`;
}

Domain

Subdomains

Frequently Asked Questions

What does preferenceEnabled() do?
preferenceEnabled() is a function in the astro codebase, defined in packages/astro/src/core/messages.ts.
Where is preferenceEnabled() defined?
preferenceEnabled() is defined in packages/astro/src/core/messages.ts at line 115.

Analyze Your Own Codebase

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

Try Supermodel Free