MCPcopy Index your code
hub / github.com/simstudioai/sim / extractIconNameFromContent

Function extractIconNameFromContent

scripts/generate-docs.ts:1283–1286  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

1281}
1282
1283function extractIconNameFromContent(content: string): string | null {
1284 const iconMatch = content.match(/icon\s*:\s*(\w+Icon)/)
1285 return iconMatch ? iconMatch[1] : null
1286}
1287
1288function extractOutputsFromContent(content: string): Record<string, any> {
1289 const outputsStart = content.search(/outputs\s*:\s*{/)

Callers 3

generateIconMappingFunction · 0.85
extractAllBlockConfigsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected