createPair() — tailwindcss Function Reference
Architecture documentation for the createPair() function in expand-declaration.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 82a99d46_b3f3_216e_a0e5_9e9f51640cc6["createPair()"] 6ad94eb5_5050_c104_6930_f586671c39b4["expand-declaration.ts"] 82a99d46_b3f3_216e_a0e5_9e9f51640cc6 -->|defined in| 6ad94eb5_5050_c104_6930_f586671c39b4 style 82a99d46_b3f3_216e_a0e5_9e9f51640cc6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/expand-declaration.ts lines 26–31
function createPair(lhs: string, rhs: string): Record<number, [prop: string, index: number][]> {
return {
1: [[lhs, 0], [rhs, 0]],
2: [[lhs, 0], [rhs, 1]],
} as const;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does createPair() do?
createPair() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/expand-declaration.ts.
Where is createPair() defined?
createPair() is defined in packages/tailwindcss/src/expand-declaration.ts at line 26.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free