MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / GetExportedFunction

Function GetExportedFunction

internal/users/exported_functions.go:18–25  ·  view source on GitHub ↗

GetExportedFunction looks up a named function across all registered exporters.

(fName string)

Source from the content-addressed store, hash-verified

16
17// GetExportedFunction looks up a named function across all registered exporters.
18func GetExportedFunction(fName string) (any, bool) {
19 for _, x := range functionExporters {
20 if f, ok := x.GetExportedFunction(fName); ok {
21 return f, ok
22 }
23 }
24 return nil, false
25}

Callers 1

SetLinkDeadUserFunction · 0.70

Calls 1

GetExportedFunctionMethod · 0.65

Tested by

no test coverage detected