MCPcopy
hub / github.com/TomWright/dasel / Get

Method Get

execution/func.go:156–159  ·  view source on GitHub ↗

Get returns the function with the given name.

(name string)

Source from the content-addressed store, hash-verified

154
155// Get returns the function with the given name.
156func (fc FuncCollection) Get(name string) (FuncFn, bool) {
157 fn, ok := fc[name]
158 return fn, ok
159}
160
161// Delete deletes the functions with the given names.
162func (fc FuncCollection) Delete(names ...string) FuncCollection {

Callers 3

callExprExecutorFunction · 0.45
TestOptionsFunction · 0.45
TestFuncCollectionFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestOptionsFunction · 0.36
TestFuncCollectionFunction · 0.36