MCPcopy Create free account
hub / github.com/araddon/qlbridge / EmptyEvalFunc

Function EmptyEvalFunc

expr/funcs.go:46–48  ·  view source on GitHub ↗

EmptyEvalFunc a no-op evaluation function for use in

(ctx EvalContext, args []value.Value)

Source from the content-addressed store, hash-verified

44
45// EmptyEvalFunc a no-op evaluation function for use in
46func EmptyEvalFunc(ctx EvalContext, args []value.Value) (value.Value, bool) {
47 return value.NilValueVal, false
48}
49
50// NewFuncRegistry create a new function registry. By default their is a
51// global one, but you can have local function registries as well.

Callers 1

TestFuncsRegistryFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestFuncsRegistryFunction · 0.74