MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / isBaseTag

Function isBaseTag

tsunami/engine/render.go:312–324  ·  view source on GitHub ↗
(tag string)

Source from the content-addressed store, hash-verified

310}
311
312func isBaseTag(tag string) bool {
313 if tag == "" {
314 return false
315 }
316 if tag == vdom.TextTag || tag == vdom.WaveTextTag || tag == vdom.WaveNullTag || tag == vdom.FragmentTag {
317 return true
318 }
319 if tag[0] == '#' {
320 return true
321 }
322 firstChar := rune(tag[0])
323 return unicode.IsLower(firstChar)
324}

Callers 1

renderMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected