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

Method hasDefault

packages/tailwindcss/src/theme.ts:121–123  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

119 }
120
121 hasDefault(key: string): boolean {
122 return (this.getOptions(key) & ThemeOptions.DEFAULT) === ThemeOptions.DEFAULT
123 }
124
125 getOptions(key: string) {
126 key = unescape(this.#unprefixKey(key))

Callers 2

applyConfigToThemeFunction · 0.80
registerScreensConfigFunction · 0.80

Calls 1

getOptionsMethod · 0.95

Tested by

no test coverage detected