MCPcopy Index your code
hub / github.com/expr-lang/expr / AllowedNegateSuffix

Function AllowedNegateSuffix

parser/operator/operator.go:23–30  ·  view source on GitHub ↗
(op string)

Source from the content-addressed store, hash-verified

21}
22
23func AllowedNegateSuffix(op string) bool {
24 switch op {
25 case "contains", "matches", "startsWith", "endsWith", "in":
26 return true
27 default:
28 return false
29 }
30}
31
32var Unary = map[string]Operator{
33 "not": {50, Left},

Callers 1

parseExpressionMethod · 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…