MCPcopy Index your code
hub / github.com/coder/coder / extractVariable

Function extractVariable

site/src/theme/cssVariables.test.ts:88–90  ·  view source on GitHub ↗
(block: string, variable: string)

Source from the content-addressed store, hash-verified

86}
87
88function extractVariable(block: string, variable: string): string | null {
89 return extractVariables(block).get(variable) ?? null;
90}
91
92function extractVariables(block: string): Map<string, string> {
93 const variables = new Map<string, string>();

Callers 1

Calls 2

extractVariablesFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected