getCompletions() — tailwindcss Function Reference
Architecture documentation for the getCompletions() function in utilities.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 67288f34_4598_cc76_2aaf_dbec4d450c56["getCompletions()"] c53948a8_17fd_19f4_c907_0e43b245f8e4["has()"] 67288f34_4598_cc76_2aaf_dbec4d450c56 -->|calls| c53948a8_17fd_19f4_c907_0e43b245f8e4 c9955487_1860_09fc_569b_44f655a0567c["get()"] 67288f34_4598_cc76_2aaf_dbec4d450c56 -->|calls| c9955487_1860_09fc_569b_44f655a0567c style 67288f34_4598_cc76_2aaf_dbec4d450c56 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/utilities.ts lines 121–129
getCompletions(name: string): SuggestionGroup[] {
if (this.has(name, 'static')) {
return (
this.completions.get(name)?.() ?? [{ supportsNegative: false, values: [], modifiers: [] }]
)
}
return this.completions.get(name)?.() ?? []
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getCompletions() do?
getCompletions() is a function in the tailwindcss codebase.
What does getCompletions() call?
getCompletions() calls 2 function(s): get, has.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free