MCPcopy
hub / github.com/ionic-team/capacitor / getPluginHeader

Function getPluginHeader

core/src/runtime.ts:43–44  ·  view source on GitHub ↗
(pluginName: string)

Source from the content-addressed store, hash-verified

41 };
42
43 const getPluginHeader = (pluginName: string): PluginHeader | undefined =>
44 cap.PluginHeaders?.find((h) => h.name === pluginName);
45
46 const handleError = (err: Error) => win.console.error(err);
47

Callers 2

isPluginAvailableFunction · 0.85
registerPluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected