MCPcopy Create free account
hub / github.com/araddon/qlbridge / Bool

Method Bool

expr/node.go:1090–1096  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1088 return false
1089}
1090func (m *IdentityNode) Bool() bool {
1091 val := strings.ToLower(m.Text)
1092 if val == "true" {
1093 return true
1094 }
1095 return false
1096}
1097func (m *IdentityNode) Equal(n Node) bool {
1098 if m == nil && n == nil {
1099 return true

Callers 11

parse_test.goFile · 0.80
parse_test.goFile · 0.80
NodePbMethod · 0.80
evalMethod · 0.80
evalFunction · 0.80
runInitFunction · 0.80
walkExprMethod · 0.80
walkExprMethod · 0.80
vm_test.goFile · 0.80
walkIdentityFunction · 0.80
lexer_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected