Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dgraph-io/dgraph
/ isBinaryMath
Function
isBinaryMath
dql/math.go:61–63 ·
view source on GitHub ↗
(f string)
Source
from the content-addressed store, hash-verified
59
}
60
61
func
isBinaryMath(f string) bool {
62
return
f ==
"*"
|| f ==
"+"
|| f ==
"-"
|| f ==
"/"
|| f ==
"%"
63
}
64
65
func
isTernary(f string) bool {
66
return
f ==
"cond"
Callers
1
parseMathFunc
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected