MCPcopy Index your code
hub / github.com/electron/forge / isForgePlugin

Function isForgePlugin

packages/api/core/src/util/plugin-interface.ts:24–26  ·  view source on GitHub ↗
(plugin: IForgePlugin | unknown)

Source from the content-addressed store, hash-verified

22const d = debug('electron-forge:plugins');
23
24function isForgePlugin(plugin: IForgePlugin | unknown): plugin is IForgePlugin {
25 return (plugin as IForgePlugin).__isElectronForgePlugin;
26}
27
28export default class PluginInterface implements IForgePluginInterface {
29 private plugins: IForgePlugin[] = [];

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected