Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/formatjs/formatjs
/ getStringAttributeValue
Function
getStringAttributeValue
packages/cli-lib/svelte_extractor.ts:54–56 ·
view source on GitHub ↗
(value: SvelteNode)
Source
from the content-addressed store, hash-verified
52
}
53
54
function
getStringAttributeValue(value: SvelteNode): string {
55
return
value.data ?? value.raw ??
''
56
}
57
58
function
getAttributeExpression(
59
attr: SvelteNode,
Callers
1
getAttributeExpression
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected