eventuallyUnquote() — tailwindcss Function Reference
Architecture documentation for the eventuallyUnquote() function in canonicalize-candidates.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 0e2c6f34_a0d7_e510_6033_2c569e871ee1["eventuallyUnquote()"] f6c14bbb_2e42_58cc_18f1_c89a243da9c0["canonicalize-candidates.ts"] 0e2c6f34_a0d7_e510_6033_2c569e871ee1 -->|defined in| f6c14bbb_2e42_58cc_18f1_c89a243da9c0 a4ba0e6f_8062_6435_8f6d_7ec692b4801d["substituteFunctionsInValue()"] a4ba0e6f_8062_6435_8f6d_7ec692b4801d -->|calls| 0e2c6f34_a0d7_e510_6033_2c569e871ee1 style 0e2c6f34_a0d7_e510_6033_2c569e871ee1 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