_getQuoteChar() — ui Function Reference
Architecture documentation for the _getQuoteChar() function in update-tailwind-config.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 51327a99_70d6_a106_2e8a_4d4b8378e9f4["_getQuoteChar()"] ef3e192c_eced_bc46_1021_689faf6b7065["update-tailwind-config.ts"] 51327a99_70d6_a106_2e8a_4d4b8378e9f4 -->|defined in| ef3e192c_eced_bc46_1021_689faf6b7065 bcd6344c_3146_377d_9fd0_f68ae594bdfb["transformTailwindConfig()"] bcd6344c_3146_377d_9fd0_f68ae594bdfb -->|calls| 51327a99_70d6_a106_2e8a_4d4b8378e9f4 style 51327a99_70d6_a106_2e8a_4d4b8378e9f4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/shadcn/src/utils/updaters/update-tailwind-config.ts lines 286–292
export function _getQuoteChar(configObject: ObjectLiteralExpression) {
return configObject
.getFirstDescendantByKind(SyntaxKind.StringLiteral)
?.getQuoteKind() === QuoteKind.Single
? "'"
: '"'
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does _getQuoteChar() do?
_getQuoteChar() is a function in the ui codebase, defined in packages/shadcn/src/utils/updaters/update-tailwind-config.ts.
Where is _getQuoteChar() defined?
_getQuoteChar() is defined in packages/shadcn/src/utils/updaters/update-tailwind-config.ts at line 286.
What calls _getQuoteChar()?
_getQuoteChar() is called by 1 function(s): transformTailwindConfig.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free