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

Function FuncAdd

expr/funcs.go:84–86  ·  view source on GitHub ↗

FuncAdd Global add Functions to the VM func registry occurs here.

(name string, fn CustomFunc)

Source from the content-addressed store, hash-verified

82
83// FuncAdd Global add Functions to the VM func registry occurs here.
84func FuncAdd(name string, fn CustomFunc) {
85 funcReg.Add(name, fn)
86}

Callers 4

LoadAllBuiltinsFunction · 0.92
TestMainFunction · 0.92
mainFunction · 0.92
mainFunction · 0.92

Calls 1

AddMethod · 0.65

Tested by 1

TestMainFunction · 0.74