eventuallyUnquote() — tailwindcss Function Reference
Architecture documentation for the eventuallyUnquote() function in canonicalize-candidates.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 1af71b0a_110a_194a_35c3_5161cc11f054["eventuallyUnquote()"] 7d350d81_5de1_f9f3_5b2c_19ec8fd3c37e["canonicalize-candidates.ts"] 1af71b0a_110a_194a_35c3_5161cc11f054 -->|defined in| 7d350d81_5de1_f9f3_5b2c_19ec8fd3c37e 80648867_f6ce_78f3_6e5a_59822ca19561["substituteFunctionsInValue()"] 80648867_f6ce_78f3_6e5a_59822ca19561 -->|calls| 1af71b0a_110a_194a_35c3_5161cc11f054 style 1af71b0a_110a_194a_35c3_5161cc11f054 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/canonicalize-candidates.ts lines 881–899
function eventuallyUnquote(value: string) {
if (value[0] !== "'" && value[0] !== '"') return value
let unquoted = ''
let quoteChar = value[0]
for (let i = 1; i < value.length - 1; i++) {
let currentChar = value[i]
let nextChar = value[i + 1]
if (currentChar === '\\' && (nextChar === quoteChar || nextChar === '\\')) {
unquoted += nextChar
i++
} else {
unquoted += currentChar
}
}
return unquoted
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does eventuallyUnquote() do?
eventuallyUnquote() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/canonicalize-candidates.ts.
Where is eventuallyUnquote() defined?
eventuallyUnquote() is defined in packages/tailwindcss/src/canonicalize-candidates.ts at line 881.
What calls eventuallyUnquote()?
eventuallyUnquote() is called by 1 function(s): substituteFunctionsInValue.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free