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

Method has

packages/tailwindcss/src/utilities.ts:116–118  ·  view source on GitHub ↗
(name: string, kind: 'static' | 'functional')

Source from the content-addressed store, hash-verified

114 }
115
116 has(name: string, kind: 'static' | 'functional') {
117 return this.utilities.has(name) && this.utilities.get(name).some((fn) => fn.kind === kind)
118 }
119
120 get(name: string) {
121 return this.utilities.has(name) ? this.utilities.get(name) : []

Callers 3

getCompletionsMethod · 0.95
getMethod · 0.45
handleBgLinearFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected