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

Function DisableShortCircuit

expr.go:138–142  ·  view source on GitHub ↗

DisableShortCircuit turns short circuit off.

()

Source from the content-addressed store, hash-verified

136
137// DisableShortCircuit turns short circuit off.
138func DisableShortCircuit() Option {
139 return func(c *conf.Config) {
140 c.ShortCircuit = false
141 }
142}
143
144// Patch adds visitor to list of visitors what will be applied before compiling AST to bytecode.
145func Patch(visitor ast.Visitor) Option {

Callers 1

TestDisableShortCircuitFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestDisableShortCircuitFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…