MCPcopy 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
19func IsBoolean(op string) bool {
20 return op == "and" || op == "or" || op == "&&" || op == "||"
21}
22
23func AllowedNegateSuffix(op string) bool {
24 switch op {

Callers 2

StringMethod · 0.92
VisitMethod · 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…