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

Method Bool

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

Source from the content-addressed store, hash-verified

94}
95
96func (n *Node) Bool(name string) (bool, bool) {
97 v, ok := n.prop(name)
98 if !ok {
99 return false, false
100 }
101 return v.Value.Bool(), true
102}
103
104func Parse(name string, v interface{}) (*Node, error) {
105 return parse(name, reflect.ValueOf(v))

Callers 7

mainFunction · 0.80
sort_test.goFile · 0.80
all_test.goFile · 0.80
renderMethod · 0.80
main.goFile · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

propMethod · 0.95

Tested by

no test coverage detected