MCPcopy
hub / github.com/handsontable/handsontable / getPlugin

Function getPlugin

handsontable/src/plugins/registry.ts:71–75  ·  view source on GitHub ↗
(pluginName: string)

Source from the content-addressed store, hash-verified

69 * @returns {typeof BasePlugin | undefined}
70 */
71export function getPlugin(pluginName: string): typeof BasePlugin | undefined {
72 const unifiedPluginName = toUpperCaseFirst(pluginName);
73
74 return uniquePluginsList.getItem(unifiedPluginName) as typeof BasePlugin | undefined;
75}
76
77/**
78 * Checks if the plugin under the name is already registered.

Callers 15

index.tsFile · 0.90
CoreFunction · 0.90
plugins.unit.tsFile · 0.90
plugins.types.tsFile · 0.90
hasPluginFunction · 0.70
registerPluginFunction · 0.70
API.spec.jsFile · 0.50

Calls 1

toUpperCaseFirstFunction · 0.90

Tested by 5

parseXlsxFunction · 0.40
parseXlsxAllSheetsFunction · 0.40
makeCollapsedGridFunction · 0.40
collapseGroupBFunction · 0.40
expandGroupBFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…