Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/expr-lang/expr
/ IsBoolean
Function
IsBoolean
parser/operator/operator.go:19–21 ·
view source on GitHub ↗
(op string)
Source
from the content-addressed store, hash-verified
17
}
18
19
func
IsBoolean(op string) bool {
20
return
op ==
"and"
|| op ==
"or"
|| op ==
"&&"
|| op ==
"||"
21
}
22
23
func
AllowedNegateSuffix(op string) bool {
24
switch
op {
Callers
2
String
Method · 0.92
Visit
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…