GetExportedFunction looks up a named function across all registered exporters.
(fName string)
| 16 | |
| 17 | // GetExportedFunction looks up a named function across all registered exporters. |
| 18 | func 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 | } |
no test coverage detected