MCPcopy
hub / github.com/tailwindlabs/tailwindcss / getCompletions

Method getCompletions

packages/tailwindcss/src/utilities.ts:124–132  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

122 }
123
124 getCompletions(name: string): SuggestionGroup[] {
125 if (this.has(name, 'static')) {
126 return (
127 this.completions.get(name)?.() ?? [{ supportsNegative: false, values: [], modifiers: [] }]
128 )
129 }
130
131 return this.completions.get(name)?.() ?? []
132 }
133
134 suggest(name: string, groups: () => SuggestionGroup[]) {
135 let existingGroups = this.completions.get(name)

Callers

nothing calls this directly

Calls 2

hasMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected