MCPcopy Create free account
hub / github.com/egonelbre/exp / Str

Method Str

view/parse.go:88–94  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

86}
87
88func (n *Node) Str(name string) (string, bool) {
89 v, ok := n.prop(name)
90 if !ok {
91 return "", false
92 }
93 return v.Value.String(), true
94}
95
96func (n *Node) Bool(name string) (bool, bool) {
97 v, ok := n.prop(name)

Callers 1

renderMethod · 0.80

Calls 2

propMethod · 0.95
StringMethod · 0.65

Tested by

no test coverage detected